Skip to content

Commit b46cc33

Browse files
committed
wtf rbx
1 parent d048f20 commit b46cc33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/active_model/serializer/lint.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ def test_read_attribute_for_serialization
3939
# using absolute value since arity is:
4040
# -1 for alias :read_attribute_for_serialization :send
4141
# 1 for def read_attribute_for_serialization(name); end
42-
# 2 for rbx because rbx
43-
expected_arity = defined?(::Rubinius) ? 2 : 1
42+
expected_arity = 1
4443
assert_equal resource.method(:read_attribute_for_serialization).arity.abs, expected_arity
4544
end
4645

0 commit comments

Comments
 (0)