diff --git a/test/cases/global_locator_test.rb b/test/cases/global_locator_test.rb index 5165c85..e4748c1 100644 --- a/test/cases/global_locator_test.rb +++ b/test/cases/global_locator_test.rb @@ -388,9 +388,7 @@ def locate_many(gids, options = {}); gids.map(&:model_id); end test "can set default_locator" do class MyLocator - def locate(gid) - :my_locator - end + def locate(gid, options = {}); :my_locator; end end with_default_locator(MyLocator.new) do