ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?)
git-svn-id: http://svn.redmine.org/redmine/trunk@17674
e93f8b46-1217-0410-a6f0-
8f06a7374b81
class VersionTest < ActiveSupport::TestCase
fixtures :projects, :users, :issues, :issue_statuses, :trackers,
- :enumerations, :versions, :projects_trackers
+ :enumerations, :versions, :projects_trackers,
+ :custom_fields, :custom_fields_trackers, :custom_fields_projects
def test_create
v = Version.new(:project => Project.find(1), :name => '1.1',