diff options
Diffstat (limited to 'test/functional/sessions_controller_test.rb')
-rw-r--r-- | test/functional/sessions_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/sessions_controller_test.rb b/test/functional/sessions_controller_test.rb index b4adda7fd..c040d6ccf 100644 --- a/test/functional/sessions_controller_test.rb +++ b/test/functional/sessions_controller_test.rb @@ -38,8 +38,8 @@ class SessionsControllerTest < ActionController::TestCase get :index, {}, {:user_id => 2, :tk => token.value} assert_response :success token.reload - assert_equal created, token.created_on - assert_not_equal created, token.updated_on + assert_equal created.to_i, token.created_on.to_i + assert_not_equal created.to_i, token.updated_on.to_i assert token.updated_on > created end |