- 'test/integration/api_test/projects_test.rb'
- 'test/integration/api_test/wiki_pages_test.rb'
- 'test/test_helper.rb'
- - 'test/unit/changeset_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
assert_equal 1, time.issue_id
assert_equal 1, time.project_id
assert_equal 2, time.user_id
- assert_equal expected_hours, time.hours,
- "@#{syntax} should be logged as #{expected_hours} hours but was #{time.hours}"
+ assert_equal(
+ expected_hours, time.hours,
+ "@#{syntax} should be logged as #{expected_hours} hours but was #{time.hours}"
+ )
assert_equal Date.yesterday, time.spent_on
assert time.activity.is_default?
- assert time.comments.include?('r520'),
- "r520 was expected in time_entry comments: #{time.comments}"
+ assert(
+ time.comments.include?('r520'),
+ "r520 was expected in time_entry comments: #{time.comments}"
+ )
end
end