This file contains 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
def creating_a_user | |
@user = Factory.build @user | |
fill_in "user[email]", :with => @user.email | |
click_button "Create" | |
end | |
on_following_link_to new_user_path do | |
where :creating_a_user do | |
specify { page.should have_content(@user.email) } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment