Renamed TestHelpers to Shoulda

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@80 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
This commit is contained in:
tsaleh 2007-04-06 14:19:44 +00:00
parent 0970c84f4a
commit aabc89c561
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
module ThoughtBot # :nodoc: module ThoughtBot # :nodoc:
module TestHelpers # :nodoc: module Shoulda # :nodoc:
# = Macro test helpers for your active record models # = Macro test helpers for your active record models
# #
# These helpers will test most of the validations and associations for your ActiveRecord models. # These helpers will test most of the validations and associations for your ActiveRecord models.

View File

@ -1,5 +1,5 @@
module ThoughtBot # :nodoc: module ThoughtBot # :nodoc:
module TestHelpers # :nodoc: module Shoulda # :nodoc:
# = context and should blocks # = context and should blocks
# #
# A context block can exist next to normal <tt>def test_blah</tt> statements, # A context block can exist next to normal <tt>def test_blah</tt> statements,

View File

@ -1,5 +1,5 @@
module ThoughtBot # :nodoc: module ThoughtBot # :nodoc:
module TestHelpers # :nodoc: module Shoulda # :nodoc:
module General # :nodoc: module General # :nodoc:
module ClassMethods module ClassMethods

View File

@ -13,12 +13,12 @@ module Test # :nodoc:
module Unit # :nodoc: module Unit # :nodoc:
class TestCase class TestCase
include ThoughtBot::TestHelpers::General::InstanceMethods include ThoughtBot::Shoulda::General::InstanceMethods
class << self class << self
include ThoughtBot::TestHelpers::Context include ThoughtBot::Shoulda::Context
include ThoughtBot::TestHelpers::ActiveRecord include ThoughtBot::Shoulda::ActiveRecord
include ThoughtBot::TestHelpers::General::ClassMethods include ThoughtBot::Shoulda::General::ClassMethods
end end
end end
end end