curationexperts / trove

Digital Image Library based on Tufts repository models
0 stars 2 forks source link

Trouble running tests on tufts_models #165

Closed mark-dce closed 10 years ago

mark-dce commented 10 years ago

Mike K. (Mike.Korcynski@tufts.edu) just sent an e-mail about trouble he's having getting the tests to run on tufts_models.

I've got 1.0.0.rc1 of tufts_models, I'm trying to get rspec to run for it,
and then I was hoping to make a small change against master which I always
have to make and then make a pull request so that I don't have to always
make this change when I get the code from DCE.  I've got hydra:jetty set
up, and ran the 'rake engine_cart:generate' task, but when I then run
rspec it doesn't run:

/Users/mkorcy01/Projects/tufts_models/spec/internal/config/initializers/dev
ise.rb:132:in `block in <top (required)>': undefined method
`expire_all_remember_me_on_sign_out=' for Devise:Module (NoMethodError)

Have you guys seen this, am I missing a step before running rspec in the
set up?

Thanks,
Mike

Duplicating the steps in README.md with a clean clone of this tufts_models repo, I get the same error.

mark-dce commented 10 years ago

It actually looks like drift in bundler behavior.

running the following commands appears to resolve any dependency issues and fix the error:

gem update bundler
bundle update