Created
January 18, 2012 19:34
-
-
Save procload/1635079 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
should 'be able to send a message to all users' do | |
within('.sectionSidebar') do | |
assert page.has_content?('Send to All Users') | |
assert page.has_content?('Targeted Users') | |
end | |
check 'Send to All Users' | |
visit edit_admin_message_path(@message) | |
within('.sectionSidebar') do | |
assert page.find(".send-to-all").checked? | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment