diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/referentials_controller_spec.rb | 2 | ||||
| -rw-r--r-- | spec/models/referential/referential_oid_format_from_wkbch_spec.rb | 1 | 
2 files changed, 1 insertions, 2 deletions
| diff --git a/spec/controllers/referentials_controller_spec.rb b/spec/controllers/referentials_controller_spec.rb index ff450c905..acab3abd9 100644 --- a/spec/controllers/referentials_controller_spec.rb +++ b/spec/controllers/referentials_controller_spec.rb @@ -94,7 +94,7 @@ describe ReferentialsController, :type => :controller do          expect(new_referential.stop_area_referential).to eq referential.stop_area_referential          expect(new_referential.objectid_format).to eq referential.objectid_format          expect(new_referential.prefix).to eq referential.prefix -        expect(new_referential.slug).to eq "#{referential.slug}_clone" +        expect(new_referential.slug).to be_nil          expect(new_referential.workbench).to eq workbench        end      end diff --git a/spec/models/referential/referential_oid_format_from_wkbch_spec.rb b/spec/models/referential/referential_oid_format_from_wkbch_spec.rb index b3ee68be3..6783ab55d 100644 --- a/spec/models/referential/referential_oid_format_from_wkbch_spec.rb +++ b/spec/models/referential/referential_oid_format_from_wkbch_spec.rb @@ -51,7 +51,6 @@ RSpec.describe Referential do        expect( described_class )          .to receive(:new)          .with(name: I18n.t("activerecord.copy", name: source.name), -      slug: "#{source.slug}_clone",        prefix: source.prefix,        time_zone: source.time_zone,        bounds: source.bounds, | 
