Skip to content

Commit

Permalink
Adding comments to 08
Browse files Browse the repository at this point in the history
  • Loading branch information
mpxc8102 committed Aug 2, 2013
1 parent 352e638 commit 979756f
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions 08_book_titles/timer_spec.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# # Topics
#
# * classes
# * instance variables
# * string formats
# * modular arithmetic
#
# # Timer
# Timer formats a given # of seconds
# into something you see on a stopwatch, i.e. 00:00:00 or 00:10:22

require 'timer'

describe "Timer" do

# before each test create a new instance of the class Timer
# and store it into the instance variable named @timer
before(:each) do
@timer = Timer.new
end
Expand Down Expand Up @@ -42,8 +39,8 @@


# One way to implement the Timer is with a helper method.
# Uncomment these specs if you want to test-drive that
# method, then call that method from inside of time_string.
# This helper method would be called by time_string.
# Uncomment these specs if you want to be tested for this helper method.
#
# describe 'padded' do
# it 'pads zero' do
Expand Down

0 comments on commit 979756f

Please sign in to comment.