restyle layout_spec.rb

also: removed any stubs that weren’t needed for the tests to pass