Skip to content
Browse files

Minor tweaks to timer toggle code

  • Loading branch information...
1 parent 1fdb8aa commit a05aac985194a1dd07e34fa353260d1f294a49f3 @zmoazeni committed Oct 26, 2013
Showing with 4 additions and 7 deletions.
  1. +2 −0 HISTORY
  2. +0 −5 README.md
  3. +2 −2 spec/functional/time_tracking_spec.rb
View
2 HISTORY
@@ -1,3 +1,5 @@
+(Unreleased)
+ * Adds ability to toggle timers (thanks Eli Fatsi - @efatsi)
1.0.1 - June 21, 2013
* Adds ability to pass updated_since paramter to report methods (thanks Pete McWilliams)
* Adds ability to create time entries for a given user
View
5 README.md
@@ -87,11 +87,6 @@ Using [rvm](https://rvm.beginrescueend.com/) you can run the tests against the p
Each runtime needs to be installed in rvm along with the bundler gem.
-## TODO
-
-* Write Documentation
-* Allow Timer Toggling
-
## Notes on Harvest Estimates
Estimates aren't currently supported due to lack of an API. If this opens up, harvested will include them.
View
4 spec/functional/time_tracking_spec.rb
@@ -60,11 +60,11 @@
# start existing timer
started_entry = harvest.time.toggle(entry.id)
- started_entry.timer_started_at.should_not == nil
+ started_entry.timer_started_at.should_not be_nil
# stop started timer
stopped_entry = harvest.time.toggle(started_entry.id)
- stopped_entry.timer_started_at.should == nil
+ stopped_entry.timer_started_at.should be_nil
end
end
end

0 comments on commit a05aac9

Please sign in to comment.
Something went wrong with that request. Please try again.