[rspec-users] textmate bundle

Brian Takita brian.takita at gmail.com
Thu Nov 29 03:08:54 EST 2007


On Nov 28, 2007 11:16 AM, Zach Dennis <zach.dennis at gmail.com> wrote:
>
> On Nov 28, 2007 11:56 AM, Brian Takita <brian.takita at gmail.com> wrote:
> >
> >
> >
> >
> > Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the
> > Textmate Bundle?
> > >
> > >
>
>  It wasn't 1.0.8, but it was a revision from about a month ago, give or take
> a few days. I've updated to trunk and that problem has gone away. Running
> all examples works, but running focused examples blows up with the below
> error. This appears under the green "RSpec Results" header:
>
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:108:in
> `run': You have a nil object when you didn't expect it! (NoMethodError) You
> might have expected an instance of Array. The error occurred while
> evaluating nil.empty? from
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in
> `run' from
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in
> `each' from
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in
> `run' from
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:85:in
> `run_examples' from
> /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in
> `run' from /Users/zdennis/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in
> `run' from /Users/zdennis/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in
> `chdir' from /Users/zdennis/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in
> `run' from /Users/zdennis/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:17:in
> `run_focussed' from /tmp/temp_textmate.zWPVDL:4
I think this was just fixed. Try updating again.
>
>
>  --
>
>
> Zach Dennis
> http://www.continuousthinking.com


More information about the rspec-users mailing list