aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
authorZog2018-05-02 09:45:17 +0200
committerZog2018-05-02 09:45:17 +0200
commit1fa2cf609c71952c6807db16bde6878b211a413a (patch)
tree277d09900ad23a8b6dd21d8aface16c7059a6663 /spec/models
parent6779a070b8d5d6d738539f84e4405a86337f7dfb (diff)
downloadchouette-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/models')
-rw-r--r--spec/models/referential_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/referential_spec.rb b/spec/models/referential_spec.rb
index eb9c2e338..720cec48c 100644
--- a/spec/models/referential_spec.rb
+++ b/spec/models/referential_spec.rb
@@ -203,6 +203,7 @@ describe Referential, :type => :model do
it 'should create a Referential' do
ref
expect { saved_clone }.to change{Referential.count}.by(1)
+ expect(saved_clone.state).to eq :pending
end
xit 'should create a ReferentialCloning' do