summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-03 21:40:22 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-06 16:34:20 +0900
commit81e5f4f3a2f9d72e28356d5458c345348e8e6aaa (patch)
tree29c426e73fbdef967a416d9644d140c8b4606304
parent41e188c8114b567f203dcafa14243716da2cfd28 (diff)
downloadgitlab-ce-81e5f4f3a2f9d72e28356d5458c345348e8e6aaa.tar.gz
Fix spec remove variable.group_id = group.id
-rw-r--r--spec/controllers/groups/variables_controller_spec.rb1
-rw-r--r--spec/controllers/projects/variables_controller_spec.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/spec/controllers/groups/variables_controller_spec.rb b/spec/controllers/groups/variables_controller_spec.rb
index c13225d5fcd..c11fe93ffca 100644
--- a/spec/controllers/groups/variables_controller_spec.rb
+++ b/spec/controllers/groups/variables_controller_spec.rb
@@ -33,7 +33,6 @@ describe Groups::VariablesController do
context 'updating a variable with valid characters' do
before do
- variable.group_id = group.id
group.variables << variable
end
diff --git a/spec/controllers/projects/variables_controller_spec.rb b/spec/controllers/projects/variables_controller_spec.rb
index c9da0369a44..0304ea6f93c 100644
--- a/spec/controllers/projects/variables_controller_spec.rb
+++ b/spec/controllers/projects/variables_controller_spec.rb
@@ -35,7 +35,6 @@ describe Projects::VariablesController do
context 'updating a variable with valid characters' do
before do
- variable.project_id = project.id
project.variables << variable
end