mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-11 08:07:59 -05:00
19 lines
397 B
Ruby
19 lines
397 B
Ruby
# frozen_string_literal: true
|
|
|
|
And /^I mark myself as not safe for work$/ do
|
|
check('profile[nsfw]')
|
|
end
|
|
|
|
And /^I mark myself as safe for work$/ do
|
|
uncheck('profile[nsfw]')
|
|
end
|
|
|
|
And /^I mark myself as not searchable$/ do
|
|
uncheck("profile[searchable]")
|
|
end
|
|
|
|
When(/^I delete a photo$/) do
|
|
find('.photo.loaded .thumbnail', :match => :first).hover
|
|
find('.delete', :match => :first).click
|
|
end
|