|
|
@ -1238,8 +1238,8 @@ class IssuesControllerTest < ActionController::TestCase |
|
|
|
journal = issue.journals.last |
|
|
|
journal = issue.journals.last |
|
|
|
assert_equal '777', issue.custom_value_for(2).value |
|
|
|
assert_equal '777', issue.custom_value_for(2).value |
|
|
|
assert_equal 1, journal.details.size |
|
|
|
assert_equal 1, journal.details.size |
|
|
|
assert_equal '125', journal.old_value(journal.details.to_a.first) |
|
|
|
assert_equal '125', journal.old_value_for('custom_values2') |
|
|
|
assert_equal '777', journal.value(journal.details.to_a.first) |
|
|
|
assert_equal '777', journal.value_for('custom_values2') |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def test_bulk_update_unassign |
|
|
|
def test_bulk_update_unassign |
|
|
|