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
Fix for shoulda_macros directory support under vendor/gems under vendor/plugins 
[#62]
Ryan McGeary (author)
Sun Aug 31 10:19:09 -0700 2008
commit  a40f78572403d82a981e2e55e2b61036c2852578
tree    98e8b8907087bf9b3cc39136ea5b779d08d374fe
parent  0040ccda1bb78e8e259f49f7896eb2d94f988263
...
4
5
6
7
 
8
9
10
...
4
5
6
 
7
8
9
10
0
@@ -4,7 +4,7 @@ require 'shoulda'
0
 
0
 if defined?(RAILS_ROOT)
0
   # load in the 3rd party macros from vendorized plugins and gems
0
-  Dir[File.join(RAILS_ROOT, "vendor", "{plugin,gem}", "*", "shoulda_macros", "*.rb")].each do |macro_file_path|
0
+  Dir[File.join(RAILS_ROOT, "vendor", "{plugins,gems}", "*", "shoulda_macros", "*.rb")].each do |macro_file_path|
0
     require macro_file_path
0
   end
0
 

Comments