Fix overlapping test case names.
This commit is contained in:
parent
97de212e80
commit
de6db60477
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ describe MergeRequestsController do
|
|||
end
|
||||
|
||||
describe "#show" do
|
||||
shared_examples "export as" do |format|
|
||||
shared_examples "export merge as" do |format|
|
||||
it "should generally work" do
|
||||
get :show, project_id: project.code, id: merge_request.id, format: format
|
||||
|
||||
|
@ -44,7 +44,7 @@ describe MergeRequestsController do
|
|||
end
|
||||
|
||||
describe "as diff" do
|
||||
include_examples "export as", :diff
|
||||
include_examples "export merge as", :diff
|
||||
let(:format) { :diff }
|
||||
|
||||
it "should really only be a git diff" do
|
||||
|
@ -55,7 +55,7 @@ describe MergeRequestsController do
|
|||
end
|
||||
|
||||
describe "as patch" do
|
||||
include_examples "export as", :patch
|
||||
include_examples "export merge as", :patch
|
||||
let(:format) { :patch }
|
||||
|
||||
it "should really be a git email patch with commit" do
|
||||
|
|
Loading…
Reference in a new issue