Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-18 13:37:50 +0300
committerDouwe Maan <douwe@gitlab.com>2015-10-18 13:38:01 +0300
commit42cbc7f813386dbf6d28868c9972ff38f01ad095 (patch)
treea7197f190298f1d73570faef88eba690f58870bb /spec/controllers
parent02e8beaa0b83a343752ebf60e4fca4482c17f9e3 (diff)
Tweak wording.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index e963e913512..9b0527a68d2 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -63,7 +63,7 @@ describe ProjectsController do
end
end
- describe "PUT remove_fork" do
+ describe "DELETE remove_fork" do
context 'when signed in' do
before do
sign_in(user)
@@ -82,7 +82,7 @@ describe ProjectsController do
id: project_fork.to_param, format: :js)
expect(project_fork.forked?).to be_falsey
- expect(flash[:notice]).to eq('Fork relationship has been removed.')
+ expect(flash[:notice]).to eq('The fork relationship has been removed.')
expect(response).to render_template(:remove_fork)
end
end