Commit faa40419 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds tests for mirror repository checkbox

parent ff4f41d8
...@@ -125,6 +125,10 @@ feature 'New project' do ...@@ -125,6 +125,10 @@ feature 'New project' do
expect(git_import_instructions).to be_visible expect(git_import_instructions).to be_visible
expect(git_import_instructions).to have_content 'Git repository URL' expect(git_import_instructions).to have_content 'Git repository URL'
end end
it 'shows mirror repository checkbox enabled', :js do
expect(page).to have_unchecked_field('Mirror repository', disabled: false)
end
end end
context 'from GitHub' do context 'from GitHub' do
......
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