updated specs to support rspec 3 expect()