Added rspec tests for layout_helper.rb

File is spec/helpers/layout_helper_spec.rb
https://www.pivotaltracker.com/story/show/82977718

it is good practice to separate the setup code from the expectation, see http://betterspecs.org/#contexts. It may seem overkill at first, but it is a good habit to get in to.