Sha256: db1f04826a555250182eaed42d56f1c511b22d7fb8402f6e6eea641a293e6985

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

require 'spec_helper'

RSpec.describe Hyrax::ResourceTypesService do
  describe "injected newspaper options" do
    subject { described_class }

    it "includes newspaper and microfilm" do
      expect(subject.label("Microfilm")).to be_truthy
      expect(subject.label("Newspaper")).to be_truthy
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 spec/services/hyrax/resource_types_service_spec.rb
newspaper_works-1.0.0 spec/services/hyrax/resource_types_service_spec.rb
newspaper_works-0.1.0 spec/services/hyrax/resource_types_service_spec.rb