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
Fixed indenting
tsaleh (author)
Sat Sep 20 13:16:32 -0700 2008
commit  a9b82f57c14820c925dbf68c0c5e70e771f0ce77
tree    c37361caad8e5f9925df3d82689d0dca860518d8
parent  967b9fc67c8fbe5f96ecfb710b08993fed0f66da
...
123
124
125
126
 
 
127
128
129
...
123
124
125
 
126
127
128
129
130
0
@@ -123,7 +123,8 @@ module ThoughtBot # :nodoc:
0
                 instantiate_variables_from_assigns do
0
                   expected_value = eval(opts[:equals], self.send(:binding), __FILE__, __LINE__)
0
                   assert_equal expected_value, assigned_value,
0
- "Instance variable @#{name} expected to be #{expected_value} but was #{assigned_value}"
0
+ "Instance variable @#{name} expected to be #{expected_value}" +
0
+ " but was #{assigned_value}"
0
                 end
0
               end
0
             end

Comments

    No one has commented yet.