"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/unit/lib/redmine/export/pdf/issues_pdf_test.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

issues_pdf_test.rb  (redmine-4.1.0):issues_pdf_test.rb  (redmine-4.1.1)
skipping to change at line 39 skipping to change at line 39
query = IssueQuery.new(:project => Project.find(1), :name => '_') query = IssueQuery.new(:project => Project.find(1), :name => '_')
query.column_names = [:subject, :spent_hours] query.column_names = [:subject, :spent_hours]
issue = Issue.find(2) issue = Issue.find(2)
user = User.find(1) user = User.find(1)
time_entry = TimeEntry.create!(:spent_on => Date.today, :hours => 4.3432, :u ser => user, :author => user, time_entry = TimeEntry.create!(:spent_on => Date.today, :hours => 4.3432, :u ser => user, :author => user,
:project_id => 1, :issue => issue, :activity => TimeEntryAc tivity.first) :project_id => 1, :issue => issue, :activity => TimeEntryAc tivity.first)
results = fetch_row_values(issue, query, 0) results = fetch_row_values(issue, query, 0)
assert_equal ["2", "Add ingredients categories", "4.34"], results assert_equal ["2", "Add ingredients categories", "4.34"], results
end end
def test_fetch_row_values_should_be_able_to_handle_parent_issue_subject
query = IssueQuery.new(:project => Project.find(1), :name => '_')
query.column_names = [:subject, 'parent.subject']
issue = Issue.find(2)
issue.parent = Issue.find(1)
issue.save!
results = fetch_row_values(issue, query, 0)
assert_equal ['2', 'Add ingredients categories', 'Cannot print recipes'], re
sults
end
end end
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)