Merge pull request #2620 from opf/fix/factory_girl-deprecations

Replace deprecated #ignore w/#transient in factories
pull/2627/head
Jan Sandbrink 10 years ago
commit 15d048b0a2
  1. 2
      spec/factories/attachment_factory.rb
  2. 2
      spec/factories/project_factory.rb
  3. 2
      spec/factories/user_factory.rb
  4. 2
      spec/factories/work_package_custom_field_factory.rb
  5. 2
      spec/factories/work_package_factory.rb

@ -31,7 +31,7 @@ FactoryGirl.define do
container factory: :work_package
author factory: :user
ignore do
transient do
filename nil
end

@ -29,7 +29,7 @@
FactoryGirl.define do
factory :project do
ignore do
transient do
no_types false
end

@ -28,7 +28,7 @@
FactoryGirl.define do
factory :user do
ignore do
transient do
member_in_project nil
member_in_projects nil
member_through_role nil

@ -28,7 +28,7 @@
FactoryGirl.define do
factory :work_package_custom_field do
ignore do
transient do
name_locales nil
default_locales nil
end

@ -28,7 +28,7 @@
FactoryGirl.define do
factory :work_package do
ignore do
transient do
custom_values nil
end

Loading…
Cancel
Save