diff options
| author | Zog | 2018-04-18 14:38:41 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-27 11:17:19 +0200 | 
| commit | c5f45f2a57b225503506c89df6b2a53a84028223 (patch) | |
| tree | 486ec0afe931663f3c7fd194c6d4c894e86d4e23 | |
| parent | 29400e2105f9fcfeaddf886933bd0468fcafd7c6 (diff) | |
| download | chouette-core-c5f45f2a57b225503506c89df6b2a53a84028223.tar.bz2 | |
Refs #6572; Fix specs
| -rw-r--r-- | config/locales/referentials.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/referentials.fr.yml | 1 | ||||
| -rw-r--r-- | spec/models/merge_spec.rb | 2 | 
3 files changed, 3 insertions, 1 deletions
| diff --git a/config/locales/referentials.en.yml b/config/locales/referentials.en.yml index 211bc4b3f..3caec8933 100644 --- a/config/locales/referentials.en.yml +++ b/config/locales/referentials.en.yml @@ -71,6 +71,7 @@ en:        referential:          name: "Name"          state: "Status" +        status: "Status"          slug: "Code"          prefix: "Neptune Object Id prefix"          projection_type: "Optional spatial reference system code (SRID)" diff --git a/config/locales/referentials.fr.yml b/config/locales/referentials.fr.yml index 342f89c7a..e22789873 100644 --- a/config/locales/referentials.fr.yml +++ b/config/locales/referentials.fr.yml @@ -71,6 +71,7 @@ fr:        referential:          name: "Nom"          state: "Etat" +        status: "Etat"          slug: "Code"          prefix: "Préfixe des identifiants Neptune"          projection_type: "Système de référence spatiale (SRID) optionnel" diff --git a/spec/models/merge_spec.rb b/spec/models/merge_spec.rb index 5d5320930..59e2cc500 100644 --- a/spec/models/merge_spec.rb +++ b/spec/models/merge_spec.rb @@ -109,7 +109,7 @@ RSpec.describe Merge do        end      end -    expect(output.state).to eq :ready +    expect(output.state).to eq :active      expect(referential.reload.state).to eq :archived    end | 
