Skip to content

Commit

Permalink
use time zone today.
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Aug 2, 2012
1 parent 7da158b commit 7a26e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/admin/emails_controller_spec.rb
Expand Up @@ -66,7 +66,7 @@
title.should include '[测试商店] 订单 #9999 , 马海波下单'
body.should include '测试商店'
body.should include '马海波 新增了订单.'
body.should include "今天(#{Date.today.to_s(:db)}"
body.should include "今天(#{Time.zone.today.to_s(:db)}"
body.should include '在线支付-支付宝'
body.should include '普通快递'
body.should include '广东省 深圳市 南山区 科技园南区6栋311'
Expand Down

0 comments on commit 7a26e14

Please sign in to comment.