Navigation Menu

Skip to content

Commit

Permalink
Fix counter_spec.rb tests to work with RSpec 1.2.0 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitz committed Apr 17, 2010
1 parent 0543dad commit 72eef53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/counter/RSpec/counter_spec.rb
Expand Up @@ -7,7 +7,7 @@
MAX = LIMIT - 1

describe "A #{DUT.name} after being reset" do
setup do
before(:each) do
DUT.reset! # reset the counter
end

Expand All @@ -24,7 +24,7 @@
end

describe "A #{DUT.name} with the maximum value" do
setup do
before(:each) do
DUT.reset! # reset the counter

# increment the counter to maximum value
Expand Down

0 comments on commit 72eef53

Please sign in to comment.