Sha256: 55e7758948552be9c87267f27e2b7d28164d80dfecddc73edd862e0c76fe1a45
Contents?: true
Size: 456 Bytes
Versions: 10
Compression:
Stored size: 456 Bytes
Contents
require 'spec_helper' describe Hyrax::Name do let(:name) { described_class.new(GenericWork) } describe "route_key" do subject { name.route_key } it { is_expected.to eq 'hyrax_generic_works' } end describe "singular_route_key" do subject { name.singular_route_key } it { is_expected.to eq 'hyrax_generic_work' } end describe "param_key" do subject { name.param_key } it { is_expected.to eq 'generic_work' } end end
Version data entries
10 entries across 10 versions & 2 rubygems