fix rspec syntax
require date