Skip to content

Commit

Permalink
Update to support the AAJ journal API
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Mar 26, 2012
1 parent 592c96e commit b071138
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/redmine_simple_support/patches/issue_patch.rb
Expand Up @@ -7,6 +7,10 @@ def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
unloadable

journal_options_excluding_support_urls = self.vestal_journals_options.dup
journal_options_excluding_support_urls[:except] << "support_urls"
self.vestal_journals_options = journal_options_excluding_support_urls
end
end

Expand Down
Expand Up @@ -94,7 +94,7 @@ class RedmineSimpleSupport::Patches::IssueTest < ActionController::TestCase
last_journal = @issue.journals.last

assert last_journal.details
assert last_journal.details.select {|detail| detail.prop_key == "support_urls"}.empty?, "Journal Details for support_urls found"
assert !last_journal.changes["support_urls"].present?
end
end

Expand Down

0 comments on commit b071138

Please sign in to comment.