Typo in the current site feature.
This commit is contained in:
parent
03b6649742
commit
aa21cea13b
@ -35,8 +35,7 @@ Background:
|
||||
And I should see "Access points"
|
||||
And I should not see the role dropdown on myself
|
||||
And I should not see the role dropdown on the "admin"
|
||||
And I should see the role dropdown on the "author"
|
||||
And I should not the role dropdown on the "author" without the "Administrator" option
|
||||
And I should see the role dropdown on the "author" without the "Administrator" option
|
||||
And I should not see delete on the "admin"
|
||||
And I should not see delete on myself
|
||||
And I should see delete on the "author"
|
||||
|
@ -2,7 +2,7 @@ Then /^I should see the role dropdown on the "([^"]*)"$/ do |user|
|
||||
find(:css, "li.membership[data-role=#{user}] select").should be_present
|
||||
end
|
||||
|
||||
Then /^I should not the role dropdown on the "([^"]*)" without the "([^"]*)" option$/ do |user, option|
|
||||
Then /^I should see the role dropdown on the "([^"]*)" without the "([^"]*)" option$/ do |user, option|
|
||||
find(:css, "li.membership[data-role=#{user}] select").text.should_not include option
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user