On Tuesday, November 12, 2013 8:28:03 AM UTC-8, Rodrigo Rosenfeld Rosas wrote: > > 14:27:29 rodrigo@rodrigo:~/src-externo/sequel master > $ ruby -I lib/ bin/sequel postgres://localhost/sequel-test > Your database is stored in DB... > 2.0.0-p247 :001 > p DB.get(Sequel::CURRENT_TIMESTAMP), Time.now > 2013-11-12 14:27:33 -0200 > 2013-11-12 14:27:33 -0200 > => [2013-11-12 14:27:33 -0200, 2013-11-12 14:27:33 -0200] >
Well, assuming that this is the same database you are using to run the specs, I'm not sure why it's failing for you. I can say that the specs run cleanly in my environment, and run cleanly on TravisCI. I can also say that when you run the specs, there definitely is a time difference between the local machine and the database server, otherwise those specs wouldn't all fail in the way they did. Are you absolutely sure you are running the specs against postgres://localhost/sequel-test? What's your command line for running the specs, and if you have a spec/spec_config.rb file, what are the contents? Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/groups/opt_out.
