Sha256: ad41206dc4669ae88d75bed3a8db58f2cc887963cd9bdeef12c855d6fd859bea
Contents?: true
Size: 516 Bytes
Versions: 27
Compression:
Stored size: 516 Bytes
Contents
require 'spec_helper' describe Qa::Authorities::Discogs do describe "#subauthority_for" do context "with an invalid sub-authority" do it "raises an exception" do expect { described_class.subauthority_for("foo") }.to raise_error Qa::InvalidSubAuthority end end context "with a valid sub-authority" do it "creates the authority" do expect(described_class.subauthority_for("master")).to be_kind_of Qa::Authorities::Discogs::GenericAuthority end end end end
Version data entries
27 entries across 27 versions & 1 rubygems