Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't need to pass the 2nd arg to respond_to on public method

  • Loading branch information...
commit 5befcc21c10d016e116434dcc134fb3386606997 1 parent 78b373e
David Chelimsky dchelimsky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rspec/rails/mocks.rb
2  lib/rspec/rails/mocks.rb
View
@@ -101,7 +101,7 @@ def @object.instance_of?(other)
other == #{model_class}
end
def @object.respond_to?(method_name, include_private=false)
- #{model_class}.respond_to?(:column_names, include_private) && #{model_class}.column_names.include?(method_name.to_s) || super
+ #{model_class}.respond_to?(:column_names) && #{model_class}.column_names.include?(method_name.to_s) || super
end
def @object.class
#{model_class}
Please sign in to comment.
Something went wrong with that request. Please try again.