1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Correct search_key= usage in configuration_spec

Fixes broken build #30
This commit is contained in:
Ryan Bigg 2012-04-11 16:44:10 -04:00
parent 31a9cc9af8
commit e69031b78a

View file

@ -37,7 +37,7 @@ module Ransack
before = Ransack.options.clone
Ransack.configure do |config|
config.set_search_key_name(:query)
config.search_key = :query
end
Ransack.options[:search_key].should eq :query