[rspec-users] it_should_behave_like

Jordan McKible jmckible at gmail.com
Thu Jun 21 10:24:16 EDT 2007


I'm trying to use it_should_behave_like, and something seems to be wonky
with the syntax.  When I add :shared=>true, the DSL complains that the next
line is the fixture declaration:

/vendor/plugins/rspec/lib/spec/dsl/behaviour_eval.rb:137:in
`method_missing': undefined method `fixtures' for
#<Spec::DSL::EvalModule:0x324a2cc> (NoMethodError)

Here's the spec http://pastie.caboo.se/72287

Am I using it_should_behave_like properly?  Am I making a separate mistake?
I have RSpec setup as a svn external (currently rev2101).

Thanks,
Jordan
http://jordan.mckible.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070621/f5da66f8/attachment.html 


More information about the rspec-users mailing list