spec/ripper/extract_constants_spec.rb in grape-reload-0.0.4 vs spec/ripper/extract_constants_spec.rb in grape-reload-0.1.0
- old
+ new
@@ -26,10 +26,10 @@
CONST_DEF1 = Test::Test2::InClassUsage
CONST_DEF2 = Test3::AnotherClass
CONST_DEF3 = SomeExternalClass
class Test < Superclass
- test_class_method {params: SomeClass}
+ test_class_method({params: SomeClass})
def test_method
SomeClass1.call_method
arg = SomeClass2.new
end
\ No newline at end of file