diff --git a/lib/rocket_chat/gem_version.rb b/lib/rocket_chat/gem_version.rb index fd9a67f..81fc19e 100644 --- a/lib/rocket_chat/gem_version.rb +++ b/lib/rocket_chat/gem_version.rb @@ -1,3 +1,3 @@ module RocketChat - VERSION = '0.0.7'.freeze + VERSION = '0.0.8'.freeze end diff --git a/spec/messages/user_spec.rb b/spec/messages/user_spec.rb index a8fcc87..e887f87 100644 --- a/spec/messages/user_spec.rb +++ b/spec/messages/user_spec.rb @@ -394,14 +394,14 @@ status = session.users.get_presence(user_id: USER_ID) expect(status.presence).to eq 'offline' expect(status.connection_status).to eq 'offline' - expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 03) + expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 3) end it 'should return full presence status for username' do status = session.users.get_presence(username: USERNAME) expect(status.presence).to eq 'offline' expect(status.connection_status).to eq 'offline' - expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 03) + expect(status.last_login).to be_within(1).of DateTime.new(2016, 12, 8, 18, 26, 3) end context 'requesting a different user' do