search for: ar_be_valid

Displaying 1 result from an estimated 1 matches for "ar_be_valid".

2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model test. The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb The error is :- c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/ matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails (NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec- rails-1.3.0/lib/spec/ra ils/matchers/ar_be_valid.rb:31:in require'' from c:/jruby-1.5.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31 :inrequire'' from C:/Rspec Test/vendor...