Merge pull request #5453 from svbergerem/fix-delete-photo-cuke

Fix delete a photo cuke
This commit is contained in:
Jonne Haß 2014-12-03 02:06:35 +01:00
commit 166590ea36
2 changed files with 2 additions and 2 deletions

View file

@ -31,6 +31,6 @@ Feature: show photos
When I am on "robert@grimm.grimm"'s photos page
And I delete a photo
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
Then I should not see "Photos" within "#profile_horizontal_bar"

View file

@ -160,7 +160,7 @@ end
Then /^(?:|I )should not see a "([^\"]*)"(?: within "([^\"]*)")?$/ do |selector, scope_selector|
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