Sha256: e660bc4b98266afa0e9873126bfb808154534370667ebc0a3ea5a0ac069a84c3

Contents?: true

Size: 272 Bytes

Versions: 17

Compression:

Stored size: 272 Bytes

Contents

require 'spec_helper'

describe Pump::Xml::TagArray do
  describe ".new" do
    it "requires one parameter" do
      lambda{ Pump::Xml::TagArray.new }.should raise_error(ArgumentError)
      lambda{ Pump::Xml::TagArray.new('tag') }.should_not raise_error
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pump-0.6.6 spec/pump/xml/tag_array_spec.rb
pump-0.6.5 spec/pump/xml/tag_array_spec.rb
pump-0.6.4 spec/pump/xml/tag_array_spec.rb
pump-0.6.3 spec/pump/xml/tag_array_spec.rb
pump-0.6.2 spec/pump/xml/tag_array_spec.rb
pump-0.6.1 spec/pump/xml/tag_array_spec.rb
pump-0.6.0 spec/pump/xml/tag_array_spec.rb
pump-0.5.1 spec/pump/xml/tag_array_spec.rb
pump-0.5.0 spec/pump/xml/tag_array_spec.rb
pump-0.4.0 spec/pump/xml/tag_array_spec.rb
pump-0.3.0 spec/pump/xml/tag_array_spec.rb
pump-0.2.0 spec/pump/xml/tag_array_spec.rb
pump-0.1.0 spec/pump/xml/tag_array_spec.rb
pump-0.0.5 spec/pump/xml/tag_array_spec.rb
pump-0.0.4 spec/pump/xml/tag_array_spec.rb
pump-0.0.3 spec/pump/xml/tag_array_spec.rb
pump-0.0.2 spec/pump/xml/tag_array_spec.rb