]> git.openstreetmap.org Git - rails.git/commit
Use stub_any_instance in order to stub find results.
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 30 Oct 2016 09:22:10 +0000 (10:22 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 30 Oct 2016 09:22:10 +0000 (10:22 +0100)
commita32333ba12bb1fed2ca217e7994cbad0a3127dd2
tree181ecd3a9920455f3ba811fd4e282b39b347a8c5
parentea502ac9df868bef953b3595d81aa59c14da07fc
Use stub_any_instance in order to stub find results.

This is a much cleaner approach than before.
Gemfile
Gemfile.lock
test/controllers/trace_controller_test.rb