spec/egn/parser_spec.rb in egn-1.3.2 vs spec/egn/parser_spec.rb in egn-1.3.3

- old
+ new

@@ -1,12 +1,9 @@ require 'spec_helper' describe Egn::Parser do - - describe "#initialize" do - it "raises an exception if the argument is invalid" do - expect{ Egn::Parser.new("12345678") }.to raise_error ArgumentError + describe '#initialize' do + it 'raises an exception if the argument is invalid' do + expect { Egn::Parser.new('12345678') }.to raise_error ArgumentError end end - end -