Skip to content

Commit

Permalink
add offset to time tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-arts committed Aug 23, 2018
1 parent 6702e2f commit 032567e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/attendee_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

context "#joined" do
it "should properly parse join time." do
expect(@attendee.joined).to eql(Time.new(2018, 8, 16, 11, 39, 21))
expect(@attendee.joined).to eql(Time.new(2018, 8, 16, 11, 39, 21, "-04:00"))
end
end

context "#left" do
it "should properly parse leave time." do
expect(@attendee.left).to eql(Time.new(2018, 8, 16, 11, 40, 58))
expect(@attendee.left).to eql(Time.new(2018, 8, 16, 11, 40, 58, "-04:00"))
end
end

Expand Down
4 changes: 2 additions & 2 deletions spec/recording_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

context "#start" do
it "should properly parse start time." do
expect(@sample.start).to eql(Time.new(2018, 8, 16, 11, 39, 21))
expect(@sample.start).to eql(Time.new(2018, 8, 16, 11, 39, 21, "-04:00"))
end
end

context "#finish" do
it "should properly parse finish time." do
expect(@sample.finish).to eql(Time.new(2018, 8, 16, 11, 40, 58))
expect(@sample.finish).to eql(Time.new(2018, 8, 16, 11, 40, 58, "-04:00"))
end
end

Expand Down

0 comments on commit 032567e

Please sign in to comment.