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
updated gem

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@375 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Thu Feb 28 14:49:06 -0800 2008
commit  e0903145d09a591dba3dde846393cbb9d0b08a3b
tree    9e7e2ed83222fcf0f463e06130d31fe02f451c36
parent  a50e871bd72cac33f78ef951986c19f922d22ecc
...
6
7
8
9
 
10
11
12
...
179
180
181
182
183
 
184
185
186
...
6
7
8
 
9
10
11
12
...
179
180
181
 
 
182
183
184
185
0
@@ -6,7 +6,7 @@ module Thoughtbot
0
       attr_accessor :current_context
0
     end
0
 
0
- VERSION = '1.1.0'
0
+ VERSION = '1.1.1'
0
 
0
     # = Should statements
0
     #
0
@@ -179,8 +179,7 @@ module Thoughtbot
0
         test_name = ["test:", full_name, "should", "#{should[:name]}. "].flatten.join(' ').to_sym
0
 
0
         if test_unit_class.instance_methods.include?(test_name.to_s)
0
- puts "'#{test_name}' is already defined"
0
- #raise ArgumentError, "'#{test_name}' is already defined"
0
+ warn " * WARNING: '#{test_name}' is already defined"
0
         end
0
         
0
         context = self

Comments

    No one has commented yet.