Created
October 24, 2012 23:30
-
-
Save joshsmith/3949595 to your computer and use it in GitHub Desktop.
sign_up_spec.rb
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 'spec_helper' | |
| feature 'Signing up' do | |
| scenario 'Successful sign up' do | |
| visit '/signup' | |
| fill_in "Name", :with => "Test User" | |
| fill_in "Username", :with => "testuser" | |
| fill_in "Email", :with => "[email protected]" | |
| fill_in "Password", :with => "password" | |
| click_button "Create Account" | |
| page.should have_content("Awesome! You're all signed up."); | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment