Sha256: 467d68cf7a642ef2bf666a199de11f33ec8a82d16e3622a3f3c1bd92d279e252
Contents?: true
Size: 239 Bytes
Versions: 23
Compression:
Stored size: 239 Bytes
Contents
shared_examples_for "a model that uses its URN as its parameter" do let(:model) { FactoryGirl.build(instance_factory_name, urn: "test-urn") } it "returns the URN as the param" do expect(model.to_param).to eq("test-urn") end end
Version data entries
23 entries across 23 versions & 1 rubygems