You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to run specs from a fresh clone of the project #77
I've run the bundle command. Now, when I run rake spec, I get the following error:
/usr/local/var/rbenv/versions/2.1.1/bin/ruby -S rspec ./spec/casclient/client_spec.rb ./spec/casclient/frameworks/rails/filter_spec.rb ./spec/casclient/tickets/storage/active_record_ticket_store_spec.rb ./spec/casclient/tickets/storage_spec.rb ./spec/casclient/validation_response_spec.rb ./spec/support/local_hash_ticket_store_spec.rb
/Users/adam/br/sandbox/rubycas-client/lib/casclient/tickets/storage/active_record_ticket_store.rb:69:in `<module:Storage>': uninitialized constant ActiveRecord::SessionStore (NameError)
from /Users/adam/br/sandbox/rubycas-client/lib/casclient/tickets/storage/active_record_ticket_store.rb:3:in `<module:Tickets>'
from /Users/adam/br/sandbox/rubycas-client/lib/casclient/tickets/storage/active_record_ticket_store.rb:2:in `<module:CASClient>'
from /Users/adam/br/sandbox/rubycas-client/lib/casclient/tickets/storage/active_record_ticket_store.rb:1:in `<top (required)>'
from /Users/adam/br/sandbox/rubycas-client/spec/casclient/tickets/storage/active_record_ticket_store_spec.rb:2:in `require'
from /Users/adam/br/sandbox/rubycas-client/spec/casclient/tickets/storage/active_record_ticket_store_spec.rb:2:in `<top (required)>'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `each'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load_spec_files'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:22:in `run'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run'
from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun'
Obviously there is something step I have to take, that I'm not aware of. I can see that there's a database.yml file in the specs directory, but there is no rake task to create or migrate the database. What do I need to do?
Activity