mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +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)
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user