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
minor refactorings and code rearranging

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@380 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Mon Mar 10 07:29:07 -0700 2008
commit  5afd6023adc4fcd1a77767d3fcae9c59fe824748
tree    64a6664590730de8d911ea3285610a4aebdcc567
parent  e0903145d09a591dba3dde846393cbb9d0b08a3b
...
1
 
2
3
4
5
6
 
7
8
9
...
26
27
28
29
30
 
31
32
33
34
 
35
36
37
...
 
1
2
3
 
4
5
6
7
8
9
...
26
27
28
 
29
30
31
 
 
 
32
33
34
35
0
@@ -1,9 +1,9 @@
0
-require 'yaml'
0
+require 'shoulda/gem/shoulda'
0
 require 'shoulda/private_helpers'
0
 require 'shoulda/general'
0
-require 'shoulda/gem/shoulda'
0
 require 'shoulda/active_record_helpers'
0
 require 'shoulda/controller_tests/controller_tests.rb'
0
+require 'yaml'
0
 
0
 shoulda_options = {}
0
 
0
@@ -26,12 +26,10 @@ module Test # :nodoc: all
0
   module Unit
0
     class TestCase
0
 
0
- include ThoughtBot::Shoulda::Controller
0
       include ThoughtBot::Shoulda::General
0
+ include ThoughtBot::Shoulda::Controller
0
 
0
- class << self
0
- include ThoughtBot::Shoulda::ActiveRecord
0
- end
0
+ extend ThoughtBot::Shoulda::ActiveRecord
0
     end
0
   end
0
 end
...
4
5
6
7
8
9
10
...
4
5
6
 
7
8
9
0
@@ -4,7 +4,6 @@ module ThoughtBot # :nodoc:
0
       def self.included(other) # :nodoc:
0
         other.class_eval do
0
           extend ThoughtBot::Shoulda::General::ClassMethods
0
- # include ThoughtBot::Shoulda::General::InstanceMethods
0
         end
0
       end
0
       

Comments

    No one has commented yet.