summaryrefslogtreecommitdiff
path: root/spec/controllers/groups/variables_controller_spec.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-06 20:10:07 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-07 15:35:12 +0900
commit8c434a52fcfc92ffbd8bf9aa5ee2893724d3c666 (patch)
treedf3061c2d0cbbc4797e57cbe1c08f620a0950faf /spec/controllers/groups/variables_controller_spec.rb
parent61d5b13888e9eb83cd86ca9849034d320b94d2b7 (diff)
downloadgitlab-ce-8c434a52fcfc92ffbd8bf9aa5ee2893724d3c666.tar.gz
gb nice catches
Diffstat (limited to 'spec/controllers/groups/variables_controller_spec.rb')
-rw-r--r--spec/controllers/groups/variables_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups/variables_controller_spec.rb b/spec/controllers/groups/variables_controller_spec.rb
index c11fe93ffca..02f2fa46047 100644
--- a/spec/controllers/groups/variables_controller_spec.rb
+++ b/spec/controllers/groups/variables_controller_spec.rb
@@ -14,7 +14,7 @@ describe Groups::VariablesController do
it 'shows a success flash message' do
post :create, group_id: group, variable: { key: "one", value: "two" }
- expect(flash[:notice]).to include 'Variables were successfully updated.'
+ expect(flash[:notice]).to include 'Variable was successfully created.'
expect(response).to redirect_to(group_settings_ci_cd_path(group))
end
end