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:
parent
0970c84f4a
commit
aabc89c561
|
@ -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.
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue