From 934eef72902d6e753f47f7f8dbc42959c399ad09 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Tue, 22 Aug 2017 22:20:22 +0200 Subject: Improve description of a Commit#cherry_pick_message UT --- spec/models/commit_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/models/commit_spec.rb') diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 6fbd58f1d84..11e64a0f877 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -248,8 +248,8 @@ eos end end - context "that is existing but not found (eg. it's in progress)" do - it do + context "that is existing but not found" do + it 'does not include details of the merged commits' do expect(merge_commit.cherry_pick_message(user)).to end_with("(cherry picked from commit #{merge_commit.sha})") end end -- cgit v1.2.1