Fix rspec tests.