Hello,

I am running rspec 2 and rails 3 in a project.

When I have a shared example being used in a spec file, I loose the
ability to run a single test in that file.
rspec spec/controllers/proposals_controller_spec.rb:13  for instance
will always give me a green '..', even if I put uparsable junk in that
example like
it "should choke" do
  asdfasdfasdfasfd
end

Running the file w/o the line number works ace.

When I remove the shared example line: it_behaves_like "...", all goes
back to normal.

Any thoughts?  Even if where to start diagnosing it?  My shared
example is in a rb file in spec/support.

Thanks,
Andrew
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to