updated specs for recent rspec