Skip to content

Instantly share code, notes, and snippets.

View Rana-Mahmoud's full-sized avatar

Rana Mahmoud Rana-Mahmoud

View GitHub Profile
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@Rana-Mahmoud
Rana-Mahmoud / rails_github_heroku.md
Created April 16, 2016 22:27 — forked from JennDudley/rails_github_heroku.md
Steps to set up a new Rails app, initialize a git repo, push to Github and deploy to Heroku

This is a list of steps to:

  • Setup a new Rails app
  • Initialize a local repository using git
  • Create a new remote repository using GitHub
  • Change README.rdoc
  • Deploy to a cloud service - Heroku

Assumptions:

  • Ruby is installed (v 1.9.3)
  • Rails is installed (v 3.2.3)