From 89775da8e5e823e9fe90dc1fc2959a8d861c9fc2 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Wed, 15 Apr 2015 16:13:56 -0400 Subject: Add to_param to mentionable spec's mock --- spec/support/mentionable_shared_examples.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/mentionable_shared_examples.rb b/spec/support/mentionable_shared_examples.rb index 9d0af29ff99..53fb6545553 100644 --- a/spec/support/mentionable_shared_examples.rb +++ b/spec/support/mentionable_shared_examples.rb @@ -53,7 +53,7 @@ def common_mentionable_setup extra_commits.each { |c| commitmap[c.short_id] = c } allow(project.repository).to receive(:commit) { |sha| commitmap[sha] } - + set_mentionable_text.call(ref_string) end end -- cgit v1.2.1