diff options
Diffstat (limited to 'spec/helpers/milestones_helper_spec.rb')
-rw-r--r-- | spec/helpers/milestones_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/milestones_helper_spec.rb b/spec/helpers/milestones_helper_spec.rb index 24d4f1b4938..b8f9c02a486 100644 --- a/spec/helpers/milestones_helper_spec.rb +++ b/spec/helpers/milestones_helper_spec.rb @@ -10,7 +10,7 @@ describe MilestonesHelper do it 'returns project milestones JSON URL' do assign(:project, project) - expect(helper.milestones_filter_dropdown_path).to eq(namespace_project_milestones_path(project.namespace, project, :json)) + expect(helper.milestones_filter_dropdown_path).to eq(project_milestones_path(project, :json)) end end @@ -18,7 +18,7 @@ describe MilestonesHelper do it 'returns targeted project milestones JSON URL' do assign(:target_project, project2) - expect(helper.milestones_filter_dropdown_path).to eq(namespace_project_milestones_path(project2.namespace, project2, :json)) + expect(helper.milestones_filter_dropdown_path).to eq(project_milestones_path(project2, :json)) end end |