##// END OF EJS Templates
Replace tab introduced in r14388 in test/test_helper.rb with spaces (#20242)....
Jean-Philippe Lang -
r14030:e67bc3637e4a
parent child
Show More
@@ -180,8 +180,8 class ActiveSupport::TestCase
180 ActiveRecord::Base.connection.quoted_date(date)
180 ActiveRecord::Base.connection.quoted_date(date)
181 end
181 end
182
182
183 # Asserts that a new record for the given class is created
183 # Asserts that a new record for the given class is created
184 # and returns it
184 # and returns it
185 def new_record(klass, &block)
185 def new_record(klass, &block)
186 assert_difference "#{klass}.count" do
186 assert_difference "#{klass}.count" do
187 yield
187 yield
General Comments 0
You need to be logged in to leave comments. Login now