public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
Renamed TestHelpers to Shoulda

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@80 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Fri Apr 06 07:19:44 -0700 2007
commit  aabc89c561ad1d46b92bfa40b3c7d0a61f98481a
tree    b04c8a5b0379d6eeb03cff94203d0dcc889253f7
parent  0970c84f4a4ec64f460ec0806c05951ad0fc1b4d
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 module ThoughtBot # :nodoc:
0
- module TestHelpers # :nodoc:
0
+ module Shoulda # :nodoc:
0
     # = Macro test helpers for your active record models
0
     #
0
     # These helpers will test most of the validations and associations for your ActiveRecord models.
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 module ThoughtBot # :nodoc:
0
- module TestHelpers # :nodoc:
0
+ module Shoulda # :nodoc:
0
     # = context and should blocks
0
     #
0
     # A context block can exist next to normal <tt>def test_blah</tt> statements,
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 module ThoughtBot # :nodoc:
0
- module TestHelpers # :nodoc:
0
+ module Shoulda # :nodoc:
0
     module General # :nodoc:
0
       
0
       module ClassMethods
...
13
14
15
16
 
17
18
19
20
21
 
 
 
22
23
24
...
13
14
15
 
16
17
18
 
 
 
19
20
21
22
23
24
0
@@ -13,12 +13,12 @@ module Test # :nodoc:
0
   module Unit # :nodoc:
0
     class TestCase
0
 
0
- include ThoughtBot::TestHelpers::General::InstanceMethods
0
+ include ThoughtBot::Shoulda::General::InstanceMethods
0
 
0
       class << self
0
- include ThoughtBot::TestHelpers::Context
0
- include ThoughtBot::TestHelpers::ActiveRecord
0
- include ThoughtBot::TestHelpers::General::ClassMethods
0
+ include ThoughtBot::Shoulda::Context
0
+ include ThoughtBot::Shoulda::ActiveRecord
0
+ include ThoughtBot::Shoulda::General::ClassMethods
0
       end
0
     end
0
   end

Comments

    No one has commented yet.