Commit 09fd7123 authored by Gregor Schmidt's avatar Gregor Schmidt

[#412] fixes to make tests run on 1.9.2

parent 0ed2af49
......@@ -19,7 +19,7 @@
Dir[File.expand_path("../redmine/acts/journalized/*.rb", __FILE__)].each{|f| require f }
require_dependency 'lib/ar_condition'
require_dependency File.expand_path('lib/ar_condition', Rails.root)
module Redmine
module Acts
......
......@@ -35,7 +35,7 @@ module Redmine::Acts::Journalized
# FIXME: When the new API is settled, remove me
Redmine::Acts::Event::InstanceMethods.instance_methods(false).each do |m|
if m.start_with? "event_"
if m.to_s.start_with? "event_"
class_eval(<<-RUBY, __FILE__, __LINE__)
def #{m}
if last_journal.nil?
......
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