Skip to content

Commit

Permalink
Bumped to v0.0.8
Browse files Browse the repository at this point in the history
Fixed rubocop errors
  • Loading branch information
abrom committed Apr 30, 2017
1 parent ee4c22f commit aff77cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/rocket_chat/gem_version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RocketChat
VERSION = '0.0.7'.freeze
VERSION = '0.0.8'.freeze
end
4 changes: 2 additions & 2 deletions spec/messages/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aff77cb

Please sign in to comment.