Sha256: ba1191661775619f0d204d488964220b37287d850186c0d65ffe28869b57b421

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

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
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
egn-1.3.2 spec/egn/parser_spec.rb
egn-1.3.1 spec/egn/parser_spec.rb
egn-1.3.0 spec/egn/parser_spec.rb
egn-1.2.2 spec/egn/parser_spec.rb
egn-1.2.1 spec/egn/parser_spec.rb
egn-1.2.0 spec/egn/parser_spec.rb
egn-1.1.0 spec/egn/parser_spec.rb
egn-1.0.0 spec/egn/parser_spec.rb
egn-0.4.0 spec/egn/parser_spec.rb