[rspec-users] matchers not working...?

Ivor Paul ivorpaul at gmail.com
Tue Jul 1 16:48:00 EDT 2008


Hi.

I am pretty new to rspec so forgive my ignorance.

I am getting errors that seem to be the matchers not working - example:

vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:478:in
`const_missing': uninitialized constant
Spec::Rails::Example::ModelExampleGroup::Be_nil

I have seen the same error with other matchers like be_valid etc.

Does anyone have an idea what could be causing this?

I am using the rspec and rspec_on_rails plugins. Pretty much the
latest versions. Rails 2.0.2

Regards
Ivor


More information about the rspec-users mailing list