Skip to content

Instantly share code, notes, and snippets.

@geoffharcourt
Created January 20, 2017 00:38
Show Gist options
  • Save geoffharcourt/a9dd752026e951b5797219212d41d3f5 to your computer and use it in GitHub Desktop.
Save geoffharcourt/a9dd752026e951b5797219212d41d3f5 to your computer and use it in GitHub Desktop.
require "rails_helper"
feature "User signs up" do
scenario "and is added to the roster" do
visit root_path
fill_in "Name", with: "Mickey Mouse"
fill_in "Experience", with: "Junior"
click_button "Sign Me Up!"
expect(page).to have_text("Mickey Mouse")
expect(page).to have_text("Junior")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment