Skip to content

Commit

Permalink
Bump factory_bot_rails from 4.11.1 to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-support authored and dependabot[bot] committed Feb 10, 2019
1 parent f541272 commit 307c21f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ GEM
et-orbi (1.1.6)
tzinfo
execjs (2.7.0)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
factory_bot_rails (4.11.1)
factory_bot (~> 4.11.1)
railties (>= 3.0.0)
factory_bot (5.0.0)
activesupport (>= 4.2.0)
factory_bot_rails (5.0.0)
factory_bot (~> 5.0.0)
railties (>= 4.2.0)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.9.25)
Expand Down
1 change: 0 additions & 1 deletion spec/factories/category.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

FactoryBot.define do
factory :category do
name { 'Test Category' }
Expand Down
2 changes: 2 additions & 0 deletions spec/factories/factories.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# frozen_string_literal: true
# Do not use FactoryBot 5 behaviour, default to, "the association strategy would not always match the strategy of the parent object" https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#associations
FactoryBot.use_parent_strategy = false
FactoryBot.define do
factory :group_member do
association :user, factory: :user1
Expand Down
1 change: 0 additions & 1 deletion spec/factories/moment.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

FactoryBot.define do
factory :moment do
name { 'Test Moment' }
Expand Down
1 change: 0 additions & 1 deletion spec/factories/mood.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

FactoryBot.define do
factory :mood do
name { 'Test Mood' }
Expand Down
1 change: 0 additions & 1 deletion spec/factories/notification.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

data = {
cutoff: false,
user: 'Julia Nguyen',
Expand Down
1 change: 0 additions & 1 deletion spec/factories/strategy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

FactoryBot.define do
factory :strategy do
name { 'Test Strategy' }
Expand Down

0 comments on commit 307c21f

Please sign in to comment.