diff options
| author | Zog | 2018-05-02 09:45:17 +0200 | 
|---|---|---|
| committer | Zog | 2018-05-02 09:45:17 +0200 | 
| commit | 1fa2cf609c71952c6807db16bde6878b211a413a (patch) | |
| tree | 277d09900ad23a8b6dd21d8aface16c7059a6663 /spec/controllers/referentials_controller_spec.rb | |
| parent | 6779a070b8d5d6d738539f84e4405a86337f7dfb (diff) | |
| download | chouette-core-1fa2cf609c71952c6807db16bde6878b211a413a.tar.bz2 | |
Refs #6572; Crete Referentials in a pending state
And fix a bug preventing the deletion of referentials without a schema
Diffstat (limited to 'spec/controllers/referentials_controller_spec.rb')
| -rw-r--r-- | spec/controllers/referentials_controller_spec.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/spec/controllers/referentials_controller_spec.rb b/spec/controllers/referentials_controller_spec.rb index acab3abd9..8edd8699f 100644 --- a/spec/controllers/referentials_controller_spec.rb +++ b/spec/controllers/referentials_controller_spec.rb @@ -119,6 +119,7 @@ describe ReferentialsController, :type => :controller do        it "creates the new referential" do          expect{request}.to change{Referential.count}.by 1          expect(Referential.last.name).to eq "Duplicated" +        expect(Referential.last.state).to eq :pending        end        it "displays a flash message" do | 
