change to expect syntax in RSpec