Created
September 13, 2012 23:49
-
-
Save seth-macpherson/3718693 to your computer and use it in GitHub Desktop.
Example Integration Test
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 './test/selenium_test_helper' | |
class ExampleAdminTest < ActionController::IntegrationTest | |
# assemble basic test data via FactoryGirl, etc... | |
setup :prep_test_data, :visit_admin | |
test 'basic application operations' do | |
click_link "Show Archived Positions" | |
assert page.has_content?("Wooden Widget Maker") | |
end | |
# ..... lots more tests | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment