Whitespace cleanup.
This commit is contained in:
parent
7d1dbf4743
commit
3e689ec988
2 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ Feature: posting from the main page
|
||||||
Then I should see a "img" within ".stream_element div.photo_attachments"
|
Then I should see a "img" within ".stream_element div.photo_attachments"
|
||||||
And I should see "Look at this dog" within ".stream_element"
|
And I should see "Look at this dog" within ".stream_element"
|
||||||
|
|
||||||
Scenario: post a photo without text
|
Scenario: post a photo without text
|
||||||
Given I expand the publisher
|
Given I expand the publisher
|
||||||
When I attach the file "spec/fixtures/button.png" to hidden element "file" within "#file-upload"
|
When I attach the file "spec/fixtures/button.png" to hidden element "file" within "#file-upload"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,7 @@ When /^I resize my window to 800x600$/ do
|
||||||
JS
|
JS
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /^I follow Edit Profile in the same window$/ do
|
Then /^I follow Edit Profile in the same window$/ do
|
||||||
page.execute_script("$('a[href=\"#{edit_profile_path}\"]').removeAttr('target')")
|
page.execute_script("$('a[href=\"#{edit_profile_path}\"]').removeAttr('target')")
|
||||||
|
|
||||||
And %(I follow "Edit Profile")
|
And %(I follow "Edit Profile")
|
||||||
|
|
@ -213,7 +213,7 @@ And "I wait for the popovers to appear" do
|
||||||
end
|
end
|
||||||
|
|
||||||
And /^I click close on all the popovers$/ do
|
And /^I click close on all the popovers$/ do
|
||||||
page.execute_script("var time = 400; $('.popover .close').each(
|
page.execute_script("var time = 400; $('.popover .close').each(
|
||||||
function(index, element){ setTimeout(function(){ $(element).click()},time);
|
function(index, element){ setTimeout(function(){ $(element).click()},time);
|
||||||
time += 800;
|
time += 800;
|
||||||
});")
|
});")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue