Sha256: 54a31180dc3069df0da33ac6828632e57a124b49094845c6034973230fe95b6b

Contents?: true

Size: 382 Bytes

Versions: 12

Compression:

Stored size: 382 Bytes

Contents

require_relative "spec_helper"
require_relative "../lib/conglomerate"

describe Conglomerate::Link do
  context "required attributes" do
    specify "href" do
      expect { Conglomerate::Link.new(:rel => "") }.to raise_error("MissingAttribute")
    end

    specify "rel" do
      expect { Conglomerate::Link.new(:href => "") }.to raise_error("MissingAttribute")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
conglomerate-0.16.0 spec/link_spec.rb
conglomerate-0.15.0 spec/link_spec.rb
conglomerate-0.14.0 spec/link_spec.rb
conglomerate-0.13.0 spec/link_spec.rb
conglomerate-0.12.1 spec/link_spec.rb
conglomerate-0.12.0 spec/link_spec.rb
conglomerate-0.11.1 spec/link_spec.rb
conglomerate-0.11.0 spec/link_spec.rb
conglomerate-0.10.0 spec/link_spec.rb
conglomerate-0.9.0 spec/link_spec.rb
conglomerate-0.8.1 spec/link_spec.rb
conglomerate-0.8.0 spec/link_spec.rb