test/query_test.rb in invokr-0.9.4 vs test/query_test.rb in invokr-0.9.5
- old
+ new
@@ -47,10 +47,10 @@
assert_equal 'no implicit conversion of Array into TestKlass', error.message
end
def test_trimming_arguments
hsh = { album: 'junta', guitarist: 'trey', drummer: 'phish' }
- assert_equal %i(album guitarist), @method.trim_args(hsh).keys
+ assert_equal [:album, :guitarist], @method.trim_args(hsh).keys
end
private
def define_test_klass