Project

General

Profile

Actions

Patch #3927

closed

Plugin genarator creates testcase which is imcompatible with rails 2.3.4

Added by Haruyuki Iida about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
-
Start date:
2009-09-26
Due date:
% Done:

100%

Estimated time:

Description

In rails 2.3, unit testcase must extends ActiveSupport::TestCase instead of Test::Unit::TestCase.

Here is patch for lib/generators/redmine_plugin_model/templates/unit_test.rb.erb.

Regards.


Files

unit_test.rb.erb.diff (565 Bytes) unit_test.rb.erb.diff Patch for unit_test.rb.erb Haruyuki Iida, 2009-09-26 15:31
Actions #1

Updated by Eric Davis about 15 years ago

  • Category set to Plugin API
  • Status changed from New to 7
  • Assignee set to Eric Davis
Actions #2

Updated by Eric Davis about 15 years ago

  • Status changed from 7 to Closed
  • % Done changed from 0 to 100

Applied in r2926, thanks for the patch.

Actions

Also available in: Atom PDF