Commit e42c7177 authored by Bob Van Landuyt's avatar Bob Van Landuyt Committed by Steve Azzopardi

Resolve conflicts in `project_spec.rb`

parent 15848188
...@@ -222,7 +222,6 @@ describe Project do ...@@ -222,7 +222,6 @@ describe Project do
end end
end end
<<<<<<< HEAD
context '#mark_stuck_remote_mirrors_as_failed!' do context '#mark_stuck_remote_mirrors_as_failed!' do
it 'fails stuck remote mirrors' do it 'fails stuck remote mirrors' do
project = create(:project, :repository, :remote_mirror) project = create(:project, :repository, :remote_mirror)
...@@ -245,13 +244,9 @@ describe Project do ...@@ -245,13 +244,9 @@ describe Project do
it { is_expected.to validate_presence_of(:mirror_user) } it { is_expected.to validate_presence_of(:mirror_user) }
end end
it 'does not allow an invalid URI as import_url' do
project = build(:project, import_url: 'invalid://')
=======
describe 'import_url' do describe 'import_url' do
it 'does not allow an invalid URI as import_url' do it 'does not allow an invalid URI as import_url' do
project = build(:project, import_url: 'invalid://') project = build(:project, import_url: 'invalid://')
>>>>>>> upstream/master
expect(project).not_to be_valid expect(project).not_to be_valid
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment