From aabc89c561ad1d46b92bfa40b3c7d0a61f98481a Mon Sep 17 00:00:00 2001 From: tsaleh Date: Fri, 6 Apr 2007 14:19:44 +0000 Subject: [PATCH] Renamed TestHelpers to Shoulda git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@80 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa --- lib/active_record_helpers.rb | 2 +- lib/context.rb | 2 +- lib/general.rb | 2 +- lib/tb_test_helpers.rb | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/active_record_helpers.rb b/lib/active_record_helpers.rb index a4cee6bd..276ec4c8 100644 --- a/lib/active_record_helpers.rb +++ b/lib/active_record_helpers.rb @@ -1,5 +1,5 @@ module ThoughtBot # :nodoc: - module TestHelpers # :nodoc: + module Shoulda # :nodoc: # = Macro test helpers for your active record models # # These helpers will test most of the validations and associations for your ActiveRecord models. diff --git a/lib/context.rb b/lib/context.rb index 72ad6194..820f3200 100644 --- a/lib/context.rb +++ b/lib/context.rb @@ -1,5 +1,5 @@ module ThoughtBot # :nodoc: - module TestHelpers # :nodoc: + module Shoulda # :nodoc: # = context and should blocks # # A context block can exist next to normal def test_blah statements, diff --git a/lib/general.rb b/lib/general.rb index 94c55e9c..4fcc6e59 100644 --- a/lib/general.rb +++ b/lib/general.rb @@ -1,5 +1,5 @@ module ThoughtBot # :nodoc: - module TestHelpers # :nodoc: + module Shoulda # :nodoc: module General # :nodoc: module ClassMethods diff --git a/lib/tb_test_helpers.rb b/lib/tb_test_helpers.rb index c00e57a0..3c5a2972 100644 --- a/lib/tb_test_helpers.rb +++ b/lib/tb_test_helpers.rb @@ -13,12 +13,12 @@ module Test # :nodoc: module Unit # :nodoc: class TestCase - include ThoughtBot::TestHelpers::General::InstanceMethods + include ThoughtBot::Shoulda::General::InstanceMethods class << self - include ThoughtBot::TestHelpers::Context - include ThoughtBot::TestHelpers::ActiveRecord - include ThoughtBot::TestHelpers::General::ClassMethods + include ThoughtBot::Shoulda::Context + include ThoughtBot::Shoulda::ActiveRecord + include ThoughtBot::Shoulda::General::ClassMethods end end end