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-0.14.0.pre3 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.14.0.pre2 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.14.0.pre1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.13.1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.13.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre9 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre8 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre7 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre6 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre5 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre4 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre3 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre2 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.12.0.pre1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.11.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.11.0.rc1 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.10.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.9.0 spec/lib/curation_concerns/name_spec.rb
curation_concerns-0.8.0 spec/lib/curation_concerns/name_spec.rb