1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Fixed misleading typos in subclassing documentation.

This commit is contained in:
James Adam 2009-01-06 18:18:39 +00:00 committed by Ryan McGeary
parent 1f535f17d5
commit 0c47c5110c
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ Assertions:: Many common rails testing idioms have been distilled into a set of
Stop killing your fingers with all of those underscores... Name your tests with plain sentences!
class UserTest << Test::Unit::TestCase
class UserTest < Test::Unit::TestCase
context "A User instance" do
setup do
@user = User.find(:first)

View file

@ -29,7 +29,7 @@ module Shoulda
#
# === Example:
#
# class UserTest << Test::Unit::TestCase
# class UserTest < Test::Unit::TestCase
#
# def setup
# @user = User.new("John", "Doe")
@ -118,7 +118,7 @@ module Shoulda
#
# A context block can contain setup, should, should_eventually, and teardown blocks.
#
# class UserTest << Test::Unit::TestCase
# class UserTest < Test::Unit::TestCase
# context "A User instance" do
# setup do
# @user = User.find(:first)
@ -135,7 +135,7 @@ module Shoulda
# Contexts may be nested. Nested contexts run their setup blocks from out to in before each
# should statement. They then run their teardown blocks from in to out after each should statement.
#
# class UserTest << Test::Unit::TestCase
# class UserTest < Test::Unit::TestCase
# context "A User instance" do
# setup do
# @user = User.find(:first)