-
-
Save sergii/6806349bb7d55f45c7c69a9f8f0bef02 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 "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