pulibrary / locations

Services around holding, delivery, and physical locations
MIT License
3 stars 0 forks source link

Unit tests will not run due to FriendlyId error #73

Closed sdellis closed 7 years ago

sdellis commented 7 years ago

App runs fine via server, but tests fail due to the following error:

/locations/.internal_test_app/config/initializers/friendly_id.rb:12:in <top (required)>: uninitialized constant FriendlyId (NameError)

sdellis commented 7 years ago

FYI - I have deleted and regnerated the test app

jpstroop commented 7 years ago

@sdellis I just cloned the repo and followed the README for generating the app and I'm not seeing that error when I run rake spec. Not sure what to say -- have you run bundle install? Are you using rvm? Maybe try a new gemset?

kevinreiss commented 7 years ago

@jpstroop are you not using RVM? I actually got the same error using a fresh gemset with RVM. I wonder if upgrading to the latest engine_cart can fix this. That has helped with similar issues in the past.

On Mon, Nov 28, 2016 at 1:50 PM, Jon Stroop notifications@github.com wrote:

@sdellis https://github.com/sdellis I just cloned the repo and followed the README for generating the app and I'm not seeing that error when I run rake spec. Not sure what to say -- have you run bundle install? Are you using rvm? Maybe try a new gemset?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pulibrary/locations/issues/73#issuecomment-263374755, or mute the thread https://github.com/notifications/unsubscribe-auth/AARBKW9rNCHQX-XnsdcLMtjRY8vEJbW0ks5rCzBrgaJpZM4K97DA .

jpstroop commented 7 years ago

I am, and used a fresh gemset.