Please sign in to comment.
Handle strings as well as symbols for method stubs.
Yes, I usually write my method stubs using symbols, but wandered from that path with some simple metaprogramming. RSpec's fine with strings, but rspec-fire wasn't when it came to running my full test suite - it insisted the methods did not exist on the real classes.
- Loading branch information...
Showing with 4 additions and 1 deletion.