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