mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Mitigates Style/SingleLineMethods
This commit is contained in:
parent
b24fe1781b
commit
dfe2d35ee7
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue