fixing rspec expectations