moonmaster9000/quacky — pull request #11 by benmoss (2012-10-21 18:07:08+00:00)
Title: Fix load order so RSpec stub beats MiniTest

I think this should fix the issue I was having with the RSpec Quacky::Expectations#stub method getting clobbered by the MiniTest one. I am requiring `minitest/autorun` in the integration RSpec tests to replicate what seems to be happening in Rails projects, and that reproduced the `wrong number of arguments (1 for 2)` error.

Just modifying the load order so that rspec_setup comes afterwards ensures that it will clobber MiniTest, and I think it makes sense that in a project where both are defined, RSpec would be one the that was more 'opt-in' and therefore can be assumed to be the main testing library.