xaviershay/rspec-fire — pull request #10 by freelancing-god (2012-03-27 05:32:30+00:00)
Title: Allow for RSpec's hash shortcuts with the stub method.

A simple fix - I use `object.stub :foo => 'bar'` a lot, and this wasn't handled quite right. The only thing to be wary of with my change is that it does expect RSpec to translate a hash into separate calls of `stub(:foo).and_return('bar')`. An unwise move? Is it better to implement something that RSpec handles itself?