Skip to content

Commit

Permalink
refactor: correcao nas condicoes de execucao do db:seed
Browse files Browse the repository at this point in the history
  • Loading branch information
owalacesilva committed Apr 29, 2022
1 parent 35725c2 commit 39a2fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def create_withdraw(user)
end
end

if Rails.env.development?
unless Rails.env.production? || Rails.env.test?
# Root member
root_attr = FactoryBot.attributes_for(:user, :root, :actived, :verified)
root = User.new(root_attr)
Expand Down

0 comments on commit 39a2fb4

Please sign in to comment.