Fix delete a photo cuke
This commit is contained in:
parent
7c775208b1
commit
9a047749fc
2 changed files with 2 additions and 2 deletions
|
|
@ -31,6 +31,6 @@ Feature: show photos
|
||||||
When I am on "robert@grimm.grimm"'s photos page
|
When I am on "robert@grimm.grimm"'s photos page
|
||||||
And I delete a photo
|
And I delete a photo
|
||||||
And I confirm the alert
|
And I confirm the alert
|
||||||
Then I should not see ".deleting" within ".stream"
|
Then I should not see a ".stream"
|
||||||
When I am on "robert@grimm.grimm"'s page
|
When I am on "robert@grimm.grimm"'s page
|
||||||
Then I should not see "Photos" within "#profile_horizontal_bar"
|
Then I should not see "Photos" within "#profile_horizontal_bar"
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ end
|
||||||
|
|
||||||
Then /^(?:|I )should not see a "([^\"]*)"(?: within "([^\"]*)")?$/ do |selector, scope_selector|
|
Then /^(?:|I )should not see a "([^\"]*)"(?: within "([^\"]*)")?$/ do |selector, scope_selector|
|
||||||
with_scope(scope_selector) do
|
with_scope(scope_selector) do
|
||||||
current_scope.has_css?(selector, :visible => true).should be false
|
current_scope.should have_no_css(selector, :visible => true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue