[rspec-devel] Running specs with TextMate bundle

Luke Redpath luke at agileevolved.com
Wed Nov 8 04:12:10 EST 2006


Its working for me on 0.7 - are sure it isn't a problem with your  
specs and the new release (there are some compatibility issues). Have  
you tried running your specs manually?

Cheers
Luke

On 8 Nov 2006, at 03:01, Brandon Keepers wrote:

> Uh, oh.  I broke it!
>
> I upgraded to 0.7.0 and now I get this:
>
> /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/lib/spec/expectations/
> sugar.rb:13:in `call': undefined method `fixtures' for #
> (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/
> lib/spec/expectations/sugar.rb:13:in `_method_missing' from /opt/
> local/lib/ruby/gems/1.8/gems/rspec-0.7.0/lib/spec/expectations/
> sugar.rb:9:in `method_missing' from /opt/local/lib/ruby/gems/1.8/gems/
> rspec-0.7.0/lib/spec/runner/context_eval.rb:37:in `method_missing'
> from ./stories_controller_spec.rb:9 from /opt/local/lib/ruby/gems/1.8/
> gems/rspec-0.7.0/lib/spec/runner/context.rb:14:in `initialize' from /
> Users/brandon/projects/stories/config/../vendor/plugins/rspec/lib/
> spec/rails/context_factory.rb:17:in `create' from /Users/brandon/
> projects/stories/vendor/plugins/rspec/lib/extensions/kernel.rb:4:in
> `context' from ./stories_controller_spec.rb:8 from /opt/local/lib/
> ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /
> opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/bin/spec:14 from /opt/
> local/lib/ruby/gems/1.8/gems/rspec-0.7.0/bin/spec:8 from /opt/local/
> bin/spec:18
> RSpecMate :: Running Specifications
> An error occurred
> private method `split' called for nil:NilClass
>
> I've tried restarting TextMate and checked the TM_SUPPORT_PATH.  Any
> ideas?
>
> Brandon
>
> On Nov 7, 2006, at 11:45 AM, Luke Redpath wrote:
>
>> Nice...that will teach me not to write my bundle commands spec-
>> first ;)
>>
>> Cheers
>> Luke
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel



More information about the rspec-devel mailing list