blob: 3a3822d71801515d46045d735a960b94f6edd192 (
plain)
1
2
3
4
5
6
7
8
|
{
'as a role' => '.role-tag.view.user-role'
}.
each do |within, selector|
Then /^I should( not)? see "([^"]*)" #{within}$/ do |negation, text|
Then %Q{I should#{negation} see "#{text}" within "#{selector}"}
end
end
|