Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions test/cases/global_locator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading