Add a StaticPages controller
$ rails generate controller StaticPages home help --no-test-framework
      create  app/controllers/static_pages_controller.rb
       route  get "static_pages/help"
       route  get "static_pages/home"
      invoke  erb
      create    app/views/static_pages
      create    app/views/static_pages/home.html.erb
      create    app/views/static_pages/help.html.erb
      invoke  helper
      create    app/helpers/static_pages_helper.rb
      invoke  assets
      invoke    coffee
      create      app/assets/javascripts/static_pages.js.coffee
      invoke    scss
      create      app/assets/stylesheets/static_pages.css.scss

Change-Id: Ief46a3f2695f7988a4e38d9c29cfbd60d72cf68f
Our first tests: behavior-driven development, using 'integration test' or known as 'request specs' (RSpec)
$ rails generate integration_test static_pages
      invoke  rspec
      create    spec/requests/static_pages_spec.rb

Change-Id: Ib8ee7f90976734eeae071c9fe6a56d6c46c6e552
First test case: expect the static_page/home to contain 'Sample App'
Run it using '$ bundle exec rspec spec/requests/static_pages_spec.rb'

Change-Id: I0880dca173801a9ccc8cffd8ee74fa9d3a8c42d8
A second test case which expects static_pages/help to contain 'Help'

Change-Id: I8e75e2a74d6c8cc76e50ea0a739f6d54d7162392
Get rid of the unix shell color characters '[32m.[0m[32m.[0m' when running rspec

Change-Id: Idf648cee8f5743b24c8c490f29aeb6601773d379
A third test case for not yet existing page 'About'

Change-Id: Iefa9b72bfc5c6a5b1ff7f045f69e6c55cbd5a1cd
Still RED: First add /static_pages/about to routes.rb

Change-Id: I322ed825823d4be2fededec42489d55939efdbb0
Still RED: Add method 'about' to StaticPagesController

Change-Id: Iaabe4c67e3512fc2a4b8f9f0504e952be1c7a43b
Now GREEN: Add app/views/static_pages/about.html.erb

Change-Id: I937323cd4e47ca467d73fa6720ac1221cedffe2a
Slightly dynamic pages: Dynamic page title --> Test cases & hard coded title
The application layout file 'app/views/layouts/application.html.erb' has been temporarily renamed to 'foobar'. Yet the app is runnable.

Change-Id: I4d4781ee40f6ae3dee8553776c3491ca62b7e6d8
Refactor the hard coded html title using Embedded Ruby

Change-Id: I7ef69e55b7e431a9bac29c1aa11d361b15622b05
Refactor: Eliminating duplication with application layout (app/views/layouts/application.html.erb)

Change-Id: Id2ee44180cdfd94a0cfb2ea96568019c613c5152