Browse Source

Add factorybot to all environments

pull/2804/head
Kat 7 months ago
parent
commit
bb181e5fd2
  1. 2
      Gemfile
  2. 2
      app/services/feature_toggle.rb

2
Gemfile

@ -62,6 +62,7 @@ gem "possessive"
# Strip whitespace from active record attributes
gem "auto_strip_attributes"
# Use sidekiq for background processing
gem "factory_bot_rails"
gem "method_source", "~> 1.1"
gem "rails_admin", "~> 3.1"
gem "ruby-openai"
@ -75,7 +76,6 @@ group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "byebug", platforms: %i[mri mingw x64_mingw]
gem "dotenv-rails"
gem "factory_bot_rails"
gem "faker"
gem "pry-byebug"

2
app/services/feature_toggle.rb

@ -48,6 +48,6 @@ class FeatureToggle
end
def self.create_test_logs_enabled?
Rails.env.development? || Rails.env.review?
Rails.env.development? || Rails.env.review?
end
end

Loading…
Cancel
Save