changed style of rspec assertions to match new convention