kurenn / market_place_api

The API on Rails tutorial application
142 stars 70 forks source link

Chapter 2: Rspec #63

Closed ninjabunny-dev closed 8 years ago

ninjabunny-dev commented 8 years ago

I got to the end of chapter 2 and I ran bundle exec rspec lib/spec/api_constraints_spec.rb

/home/bluemagesystems/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require: cannot load such file -- api_constraints (LoadError)

I re-read the chapter and all my code seems to be correct

ninjabunny-dev commented 8 years ago

It seemed like one of my controllers was named wrong. my rspec tests fail, but it looks like it's related to the old syntax.

kurenn commented 8 years ago

Yeah, by that time I was using rspec 2.14, and then rspec 3 got out jaja...

I'm working on the new version of the book!