Fix broken rspec.

Fixes #5466
Fix broken rspec
Merge branch '2-2-stable' into 2-2-nemo-stable
Pin Rails 4.0.9 since 4.0.10 is bad
Fix to work with rspec 3.0
Merge branch '2-2-nemo-stable' of github.com:godaddy/spree into 3194