Update features to play nice with Bootstrap
This commit is contained in:
parent
7ff0776d59
commit
b085c98b67
2 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,7 @@ Feature: User manages contacts
|
||||||
|
|
||||||
And I click on my name in the header
|
And I click on my name in the header
|
||||||
When I follow "Contacts"
|
When I follow "Contacts"
|
||||||
Then I should see "Community Spotlight" within ".span-18"
|
Then I should see "Community Spotlight" within ".span9"
|
||||||
|
|
||||||
Scenario: clicking on the contacts link in the header with contacts does not send a user to the featured users page
|
Scenario: clicking on the contacts link in the header with contacts does not send a user to the featured users page
|
||||||
Given I am signed in
|
Given I am signed in
|
||||||
|
|
|
||||||
|
|
@ -42,14 +42,14 @@ When /^I select "([^"]*)" aspect as well$/ do |aspect_name|
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I check the first contact list button$/ do
|
When /^I check the first contact list button$/ do
|
||||||
find(".contact_list .button", match: :first).tap do |button|
|
find(".contact_list .btn", match: :first).tap do |button|
|
||||||
button.click
|
button.click
|
||||||
button.parent.should have_css ".added"
|
button.parent.should have_css ".added"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I uncheck the first contact list button$/ do
|
When /^I uncheck the first contact list button$/ do
|
||||||
find(".contact_list .button", match: :first).tap do |button|
|
find(".contact_list .btn", match: :first).tap do |button|
|
||||||
button.click
|
button.click
|
||||||
button.parent.should have_css ".add"
|
button.parent.should have_css ".add"
|
||||||
sleep 1 # The expectation above should wait for the request to finsh, but that doesn't work for some reason
|
sleep 1 # The expectation above should wait for the request to finsh, but that doesn't work for some reason
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue