Created
July 1, 2011 17:04
-
-
Save guilleiguaran/1058957 to your computer and use it in GitHub Desktop.
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
module NavigationHelpers | |
# Put helper methods related to the paths in your application here. | |
def homepage | |
"/" | |
end | |
def tour_page | |
"/tour" | |
end | |
def contact_page | |
"/contact" | |
end | |
def club_page(club) | |
"/clubs/#{club.id}" | |
end | |
def sign_in_page | |
"/users/sign_in" | |
end | |
end | |
RSpec.configuration.include NavigationHelpers, :type => :request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment