mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Replace tab introduced in r14388 in test/test_helper.rb with spaces (#20242).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14412 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6d78ae9130
commit
e67bc3637e
@ -180,8 +180,8 @@ class ActiveSupport::TestCase
|
|||||||
ActiveRecord::Base.connection.quoted_date(date)
|
ActiveRecord::Base.connection.quoted_date(date)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Asserts that a new record for the given class is created
|
# Asserts that a new record for the given class is created
|
||||||
# and returns it
|
# and returns it
|
||||||
def new_record(klass, &block)
|
def new_record(klass, &block)
|
||||||
assert_difference "#{klass}.count" do
|
assert_difference "#{klass}.count" do
|
||||||
yield
|
yield
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user