Create AdminContactsTest

This commit is contained in:
Maciej Szlosarczyk 2018-04-27 10:35:42 +03:00
parent 255706fb45
commit a6a99df58e
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 29 additions and 12 deletions

View file

@ -1,12 +0,0 @@
require 'rails_helper'
RSpec.feature 'Contact list', settings: false do
background do
sign_in_to_admin_area
end
it 'is visible' do
visit admin_contacts_path
expect(page).to have_css('.contacts')
end
end