I’m a newb here and probably shouldn’t be using Rails3 yet to start
but for some reason I was feeling adventurous.
I’m also learning to use rspec along the way and things ‘were’ working
with my ‘rake spec’ until I tried to follow some examples for test
Authlogic with rspec.
I ‘think’ what started the problems was when I added at the top of a
After doing that, I seemed to have to re-run ‘bundle install’ (or maybe
was triggered because I touched the Gemfile, even though I ended up not
adding changes to it.)
I was prompted with:
git://github.com/odorcicd/authlogic.git (at rails3) is not checked out.
(See full trace by running task with --trace)
I rand bundle install, but now every time I try to run “rake spec” I end
with the following error:
/Users/rick/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby -S bundle exec
/Users/rick/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby -Ilib -Ispec
const_missing': uninitialized constant ActionMailer::TestCase::Behavior (NameError) from /Users/rick/.rvm/gems/ruby-1.9.2-preview3/gems/rspec-expectations-2.0.0.beta.20/lib/rspec/expectations/backward_compatibility.rb:6:inconst_missing’
<module:MailerExampleGroup>' from /Users/rick/.rvm/gems/ruby-1.9.2-preview3/gems/rspec-rails-2.0.0.beta.20/lib/rspec/rails/example/mailer_example_group.rb:3:inmodule:Rails’
<top (required)>' from /Users/rick/.rvm/gems/ruby-1.9.2-preview3/gems/rspec-rails-2.0.0.beta.20/lib/rspec/rails/example.rb:6:in<top (required)>’
<top (required)>' from /Users/rick/projects/rails/sillymeters/spec/spec_helper.rb:5:in<top (required)>’
require' from ./spec/models/meter_spec.rb:1:in’
I don’t know what went wrong? I even removed the test file that had
‘authlogic/test_case’” but now I’m still getting the error.
Again, things were working ok until I had to do ‘bundle install’ again