Sha256: 4a3bb39ae5f600dfabc64327f60752f6ab34bea1ca057dee45a7f72189babee8

Contents?: true

Size: 491 Bytes

Versions: 64

Compression:

Stored size: 491 Bytes

Contents

require 'spec_helper'

describe CurationConcerns::Name do
  let(:name) { described_class.new(GenericWork) }

  describe "route_key" do
    subject { name.route_key }
    it { is_expected.to eq 'curation_concerns_generic_works' }
  end

  describe "singular_route_key" do
    subject { name.singular_route_key }
    it { is_expected.to eq 'curation_concerns_generic_work' }
  end

  describe "param_key" do
    subject { name.param_key }
    it { is_expected.to eq 'generic_work' }
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.7 spec/lib/curation_concerns/name_spec.rb
curation_concerns-2.0.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-2.0.0.rc2 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.6 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.5 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.4 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.3 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.2 spec/lib/curation_concerns/name_spec.rb
curation_concerns-2.0.0.rc1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.7.0.beta1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.6.3 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.6.2 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.6.1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.6.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.5.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.4.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-1.3.3 spec/lib/curation_concerns/name_spec.rb