Changing tests from should to expect syntax, to remove RSpec deprecation warning