public
Rubygem
Fork of thoughtbot/shoulda
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/technicalpickles/shoulda.git
use the rails standard way of initializing a gem, instead of that 
RAILS_ROOT check
mjankowski (author)
Wed Oct 01 14:40:21 -0700 2008
commit  162e6f8ad643e7c147a79eb5b3c6b549c2021720
tree    972686ef82f87aff2e74b9386bb28d71968b7abd
parent  fedb8d1c5cf75286b1e8dc85c8db820bc54a989b
...
1
 
...
 
1
0
@@ -1 +1 @@
0
-require 'shoulda/rails'
0
+require File.join(File.dirname(__FILE__), 'rails', 'init')
...
3
4
5
6
7
8
9
...
3
4
5
 
6
7
8
0
@@ -3,7 +3,6 @@ require 'shoulda/proc_extensions'
0
 require 'shoulda/assertions'
0
 require 'shoulda/macros'
0
 require 'shoulda/helpers'
0
-require 'shoulda/rails' if defined? RAILS_ROOT
0
 
0
 module Test # :nodoc: all
0
   module Unit

Comments

    No one has commented yet.