Skip to content

Commit

Permalink
Test options = {} until rails-api#965 is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Jun 24, 2015
1 parent aa3b6bb commit 649b553
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/serializer_builder_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ def setup
end

def test_builder_delegates_serializable_hash_to_the_adapter
options = nil
options = {}
assert_equal @adapter.serializable_hash(options), @builder.serializable_hash(options)
end

def test_builder_delegates_to_json_to_the_adapter
options = nil
options = {}
assert_equal @adapter.to_json(options), @builder.to_json(options)
end

def test_builder_delegates_as_json_to_the_adapter
options = nil
options = {}
assert_equal @adapter.as_json(options), @builder.as_json(options)
end
end
Expand Down

0 comments on commit 649b553

Please sign in to comment.