1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Mitigates Style/SingleLineMethods

This commit is contained in:
Thomas Nys 2015-04-18 12:33:57 +02:00
parent b24fe1781b
commit dfe2d35ee7

View file

@ -124,7 +124,9 @@ RSpec.describe HTTParty::Parser do
it "raises a useful exception message for subclasses" do
atom_parser = Class.new(HTTParty::Parser) do
def self.name; 'AtomParser'; end
def self.name;
'AtomParser';
end
end
parser = atom_parser.new 'body', :atom
expect do