Permalink
Browse files

rename var

  • Loading branch information...
1 parent 3833289 commit 1ea8f85d164789c9996e26dcefa9ea505b3f96fa @dchelimsky committed Aug 25, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/spec/mocks/example_methods.rb
View
4 lib/spec/mocks/example_methods.rb
@@ -64,8 +64,8 @@ def allow_message_expectations_on_nil
Proxy.allow_message_expectations_on_nil
end
- def mock_class(const)
- $rspec_mocks.add_mocked_class(const, double(const.to_s))
+ def mock_class(klass)
+ $rspec_mocks.add_mocked_class(klass, double(klass.to_s))
end
def restore_class(double)

0 comments on commit 1ea8f85

Please sign in to comment.