Skip to content

Instantly share code, notes, and snippets.

@joshsmith
Created October 24, 2012 23:30
Show Gist options
  • Select an option

  • Save joshsmith/3949595 to your computer and use it in GitHub Desktop.

Select an option

Save joshsmith/3949595 to your computer and use it in GitHub Desktop.
sign_up_spec.rb
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