spec/tiddle_spec.rb in tiddle-1.1.0 vs spec/tiddle_spec.rb in tiddle-1.2.0

- old
+ new

@@ -21,10 +21,10 @@ end.to change { @user.authentication_tokens.count }.by(1) end it "sets last_used_at field" do Tiddle.create_and_return_token(@user, FakeRequest.new) - expect(@user.authentication_tokens.last.last_used_at) + expect(@user.authentication_tokens.last.last_used_at.to_time) .to be_within(1).of(Time.current) end it "saves ip address" do Tiddle.create_and_return_token @user,