Skip to content

Commit

Permalink
Fix Site factory to set redirect_to_primary_host and public
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed Sep 7, 2020
1 parent e19ee7c commit 0df3c69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/alchemy/test_support/factories/site_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
factory :alchemy_site, class: "Alchemy::Site" do
name { "A Site" }
host { "domain.com" }
public { false }
redirect_to_primary_host { false }

trait :default do
public { true }
Expand Down

0 comments on commit 0df3c69

Please sign in to comment.