diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-29 18:39:06 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 18:58:18 +0100 |
commit | 0bfcdd66bf932c080398ff264323b5c0df17d05c (patch) | |
tree | 1c306a83624c53ec65ec67229de5033096d35593 /spec/presenters | |
parent | 6b82a9ef51f59d37975bd5de48142d1a0a8504de (diff) | |
download | gitlab-ce-0bfcdd66bf932c080398ff264323b5c0df17d05c.tar.gz |
Use `resource` in Project Variables routing scheme
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/ci/variable_presenter_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/presenters/ci/variable_presenter_spec.rb b/spec/presenters/ci/variable_presenter_spec.rb index 35ad49817b8..e3ce88372ea 100644 --- a/spec/presenters/ci/variable_presenter_spec.rb +++ b/spec/presenters/ci/variable_presenter_spec.rb @@ -43,12 +43,12 @@ describe Ci::VariablePresenter do describe '#edit_path' do subject { described_class.new(variable).edit_path } - it { is_expected.to eq(project_variables_save_multiple_path(project)) } + it { is_expected.to eq(project_variables_path(project)) } end describe '#delete_path' do subject { described_class.new(variable).delete_path } - it { is_expected.to eq(project_variables_save_multiple_path(project)) } + it { is_expected.to eq(project_variables_path(project)) } end end |