test/unit/peddler/test_xml_parser.rb in peddler-2.0.4 vs test/unit/peddler/test_xml_parser.rb in peddler-2.1.0
- old
+ new
@@ -18,20 +18,20 @@
)
@parser = Parser.new(res)
end
- def test_does_not_implement_parsing
+ def test_that_it_does_not_implement_parsing
assert_raises(NotImplementedError) do
@parser.parse
end
end
- def test_digs_data
+ def test_digging_data
@parser.instance_variable_set :@data, foo: { bar: :baz }
assert_equal :baz, @parser.dig(:foo, :bar)
end
- def test_validates
+ def test_validation
assert @parser.valid?
end
end