Skip to content

Commit

Permalink
- Fixed spec section of readme to not use deprecated global expectati…
Browse files Browse the repository at this point in the history
…ons. (CheezItMan)

[git-p4: depot-paths = "//src/minitest/dev/": change = 12119]
  • Loading branch information
zenspider committed Jun 11, 2019
1 parent 040f413 commit d983b2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ Define your tests as methods beginning with +test_+.

describe "when asked about cheeseburgers" do
it "must respond positively" do
@meme.i_can_has_cheezburger?.must_equal "OHAI!"
_(@meme.i_can_has_cheezburger?).must_equal "OHAI!"
end
end

describe "when asked about blending possibilities" do
it "won't say no" do
@meme.will_it_blend?.wont_match /^no/i
_(@meme.will_it_blend?).wont_match /^no/i
end
end
end
Expand Down Expand Up @@ -379,7 +379,7 @@ The following implementation and test:
end

it "must respond to work" do
@worker.must_respond_to :work
_(@worker).must_respond_to :work
end
end

Expand Down

0 comments on commit d983b2e

Please sign in to comment.