Making tests pass with RSpec in Ruby