aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-08 11:04:16 +0100
committerZog2018-02-08 11:04:16 +0100
commit1b084777428a298892e635356add6f99c3444b28 (patch)
tree97ae8dcf1f89d6ee0c6200a32d4cb7131b12c019
parent9442303a794a32ee431baada5cea15467323f629 (diff)
downloadchouette-core-1b084777428a298892e635356add6f99c3444b28.tar.bz2
Refs #5863; Fix specs
-rw-r--r--spec/controllers/referentials_controller_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/controllers/referentials_controller_spec.rb b/spec/controllers/referentials_controller_spec.rb
index 6964a3e8c..5e0b1e505 100644
--- a/spec/controllers/referentials_controller_spec.rb
+++ b/spec/controllers/referentials_controller_spec.rb
@@ -15,8 +15,7 @@ describe ReferentialsController, :type => :controller do
end
context "user's organisation doesn't match referential's organisation" do
- pending "hotfix opens all unknow actions need to close the uneeded later" do
- #it 'raises a ActiveRecord::RecordNotFound' do
+ it 'raises a ActiveRecord::RecordNotFound' do
expect { put :archive, id: other_referential.id }.to raise_error(ActiveRecord::RecordNotFound)
end
end