Sha256: 6b356016f85f0811c9775aed67b131c5aa50e38837e941e0d2ac80b31057f550

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 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

2 entries across 2 versions & 1 rubygems

Version Path
egn-1.3.4 spec/egn/parser_spec.rb
egn-1.3.3 spec/egn/parser_spec.rb