Permalink
Browse files

Style cleanup

  • Loading branch information...
1 parent b36951a commit 91c6ae0e8bb7d285278ce2cffc3fe814f3f7b120 @ernie ernie committed Oct 11, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/ransack/search.rb
  2. +1 −1 spec/ransack/search_spec.rb
View
@@ -72,7 +72,7 @@ def new_sort(opts = {})
Nodes::Sort.new(@context).build(opts)
end
- def respond_to?(method_id, include_private=false)
+ def respond_to?(method_id, include_private = false)
super or begin
method_name = method_id.to_s
writer = method_name.sub!(/\=$/, '')
@@ -242,7 +242,7 @@ module Ransack
describe '#respond_to' do
it 'is aware of second argument' do
- Search.new(Person).respond_to?(:name_eq, true).should be
+ Search.new(Person).respond_to?(:name_eq, true).should be_true
end
end

0 comments on commit 91c6ae0

Please sign in to comment.