summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-02 03:07:33 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-02 03:07:33 +0100
commitad38e120069748049786373af1c2286cf9c849eb (patch)
tree6d181590029de741e73a6527dcd82a214d9f41c4 /spec/controllers
parent4ff0cfe541739ead870fc9f7708db9b19e5b718c (diff)
downloadgitlab-ce-ad38e120069748049786373af1c2286cf9c849eb.tar.gz
Remove dismissed_state from Callout model
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/callouts_controller_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/callouts_controller_spec.rb b/spec/controllers/callouts_controller_spec.rb
index bf2aae190f2..7a183d757a1 100644
--- a/spec/controllers/callouts_controller_spec.rb
+++ b/spec/controllers/callouts_controller_spec.rb
@@ -25,10 +25,6 @@ describe CalloutsController do
context 'when callout entry already exists' do
let!(:callout) { create(:callout, feature_name: 'feature_name', user: user) }
- it 'should update it with a dismissed state' do
- expect { subject }.to change { callout.reload.dismissed_state }.from(false).to(true)
- end
-
it 'should return success' do
subject