fix facotries
This commit is contained in:
parent
f5dec306fd
commit
adccf3b499
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ FactoryGirl.define do
|
|||
factory :merge_request do
|
||||
title
|
||||
author
|
||||
project
|
||||
project factory: :project_with_code
|
||||
source_branch "master"
|
||||
target_branch "stable"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe "On a merge request", js: true do
|
||||
let!(:project) { create(:project) }
|
||||
let!(:project) { create(:project_with_code) }
|
||||
let!(:merge_request) { create(:merge_request, project: project) }
|
||||
|
||||
before do
|
||||
|
@ -83,7 +83,7 @@ end
|
|||
|
||||
|
||||
describe "On a merge request diff", js: true, focus: true do
|
||||
let!(:project) { create(:project) }
|
||||
let!(:project) { create(:project_with_code) }
|
||||
let!(:merge_request) { create(:merge_request_with_diffs, project: project) }
|
||||
|
||||
before do
|
||||
|
|
Loading…
Reference in a new issue