summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-08 14:20:11 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-13 14:40:05 +0200
commitd88f708b02720404af4b7647a65f831dae59f764 (patch)
treec91b27e4c43eddfcd0f43e32fed724ddccab742f
parent34c146a17dbb66322bc57b0755c979c05e7d4340 (diff)
downloadgitlab-ce-d88f708b02720404af4b7647a65f831dae59f764.tar.gz
Improve grammar
-rw-r--r--spec/controllers/projects_controller_spec.rb2
-rw-r--r--spec/models/merge_request_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index da75f4ccd2c..b0f740f48f7 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -182,7 +182,7 @@ describe ProjectsController do
expect(response).to redirect_to(dashboard_projects_path)
end
- context "when project is forked" do
+ context "when the project is forked" do
let(:project) { create(:project) }
let(:fork_project) { create(:project, forked_from_project: project) }
let(:merge_request) do
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb
index d58156ba045..9ec26a65ba1 100644
--- a/spec/models/merge_request_spec.rb
+++ b/spec/models/merge_request_spec.rb
@@ -1109,7 +1109,7 @@ describe MergeRequest, models: true do
end
end
- context 'when merge request is opened' do
+ context 'when the merge request is opened' do
it 'returns false' do
expect(subject.can_reopen?).to be_falsey
end