Project

General

Profile

Patch #20242 ยป replace_tab_from_r14388_in_test_helper.rb_with_spaces-trunk_r14396.diff

Mischa The Evil, 2015-07-05 11:46

View differences:

test_helper.rb (working copy)
ActiveRecord::Base.connection.quoted_date(date)
end
# Asserts that a new record for the given class is created
# and returns it
# Asserts that a new record for the given class is created
# and returns it
def new_record(klass, &block)
assert_difference "#{klass}.count" do
yield
    (1-1/1)