Created
April 22, 2015 05:09
-
-
Save benjohnson77/e8b6d877446e395caa29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe 'product' do | |
before(:each) do | |
visit '/login' | |
fill_in 'user_name', :with => 'admin' | |
fill_in 'password', :with => 'Legalinc2015' | |
click_on 'Sign in' | |
click_on 'Products' | |
end | |
describe 'stats' do | |
it 'has stats', :js => true do | |
expect(page).to have_content('Filter') | |
end | |
it 'has a link to Create New', :js => true do | |
click_on 'Create New' | |
expect(page).to have_content('Back') | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment