Created
August 21, 2009 02:03
-
-
Save avk/171600 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
require File.dirname(__FILE__) + '/../test_helper' | |
class InvitedCommenterTest < Test::Unit::TestCase | |
attr_reader :browser | |
def setup | |
@browser = Selenium::Client::Driver.new \ | |
:host => "localhost", | |
:port => 4444, | |
:browser => "*firefox", | |
:url => "http://dusk/", | |
:timeout_in_second => 60 | |
browser.start_new_browser_session | |
end | |
def teardown | |
browser.close_current_browser_session | |
end | |
def test_commenter_can_log_in | |
browser.open "/index.html#url_token=bde1ac52c249d8cc52690dfd5be56234" | |
assert browser.element?("css=#outspokes") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment