Commit 5c60cbfe by Hiếu Lê

Update code

parent d98ddaaa
Pipeline #70 failed with stages
in 0 seconds
......@@ -41,6 +41,7 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
arel (6.0.4)
builder (3.2.3)
byebug (9.1.0)
capybara (1.1.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
......@@ -61,6 +62,7 @@ GEM
globalid (0.4.1)
activesupport (>= 4.2.0)
htmlentities (4.3.4)
httpclient (2.8.3)
i18n (0.7.0)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
......@@ -126,8 +128,9 @@ GEM
rbpdf-font (1.19.1)
rdoc (4.3.0)
redcarpet (3.4.0)
redmine_crm (0.0.34)
redmine_crm (0.0.46)
liquid (< 2.6.4)
rails
redmine_extensions (0.2.14)
actionpack (>= 4.2, < 6)
rails (>= 4.2, < 6)
......@@ -173,8 +176,10 @@ PLATFORMS
DEPENDENCIES
actionpack-xml_parser
byebug (~> 9.0, >= 9.0.6)
capybara
coderay (~> 1.1.1)
httpclient
i18n (~> 0.7.0)
jquery-rails (~> 3.1.4)
mime-types (~> 3.0)
......
......@@ -617,7 +617,7 @@ class IssuesController < ApplicationController
return if exclude_project_ids.include?(issue.project_id)
subtask_titles = %w(Requirement Design Coding Code\ review Create\ Test\ case Testing Bug\ fixing Release)
subtask_titles.each do |subtask_title|
subtask = issue.dup
subtask = Issue.new(issue.attributes.except('id', 'created_on', 'updated_on'))
subtask.subject = subtask_title + ' - ' + subtask.subject
subtask.tracker_id = 8 #Task
subtask.parent_issue_id = @issue.id
......
......@@ -142,7 +142,8 @@ en:
general_lang_name: 'English'
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
# general_csv_encoding: ISO-8859-1
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_pdf_monospaced_fontname: freemono
general_first_day_of_week: '7'
......
......@@ -16,4 +16,4 @@ rm -r plugins/redmine_agile
== Test
bundle exec rake db:drop db:create db:migrate redmine:plugins RAILS_ENV=test
bundle exec rake test TEST="plugins/redmine_agile/test/**/*_test.rb" RAILS_ENV=test
\ No newline at end of file
undle exec rake test TEST="plugins/redmine_agile/test/**/*_test.rb" RAILS_ENV=test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment