Skip to content

Commit

Permalink
Upgrade factory_bot_rails to fix tests
Browse files Browse the repository at this point in the history
Seems to be related to
thoughtbot/factory_bot_rails#433 but it only
triggered after using flipper
  • Loading branch information
mauriciofierrom committed Jul 4, 2024
1 parent c4af891 commit 77ffa32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
13 changes: 7 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ gem "font-awesome-rails"
# Get locale from http header
gem 'http_accept_language', '~> 2.1', '>= 2.1.1'

gem "devise", "~> 4.9"

gem "flipper-active_record", ">= 1.3"

gem "flipper-ui", ">= 1.3"

# Use Sass to process CSS
# gem "sassc-rails"

Expand Down Expand Up @@ -87,13 +93,8 @@ group :test do
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"
gem "factory_bot_rails", "~> 6.4"
gem "factory_bot_rails", "~> 6.4.3"
gem "faker", "~> 3.2.2"
gem "shoulda-matchers", "~> 5.0"
end

gem "devise", "~> 4.9"

gem "flipper-active_record", "~> 1.3"

gem "flipper-ui", "~> 1.3"
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ GEM
dockerfile-rails (1.5.12)
rails (>= 3.0.0)
erubi (1.12.0)
factory_bot (6.4.0)
factory_bot (6.4.6)
activesupport (>= 5.0.0)
factory_bot_rails (6.4.0)
factory_bot_rails (6.4.3)
factory_bot (~> 6.4)
railties (>= 5.0.0)
faker (3.2.2)
Expand Down Expand Up @@ -385,10 +385,10 @@ DEPENDENCIES
debug
devise (~> 4.9)
dockerfile-rails (>= 1.5)
factory_bot_rails (~> 6.4)
factory_bot_rails (~> 6.4.3)
faker (~> 3.2.2)
flipper-active_record (~> 1.3)
flipper-ui (~> 1.3)
flipper-active_record (>= 1.3)
flipper-ui (>= 1.3)
flog
font-awesome-rails
guard-minitest (~> 2.4)
Expand Down

0 comments on commit 77ffa32

Please sign in to comment.