Sha256: 2b2733593ff383da20898f07a8057bf630fdaa7e600b88e548aee46bbcb4d620

Contents?: true

Size: 278 Bytes

Versions: 8

Compression:

Stored size: 278 Bytes

Contents

require_relative "../../decidim-core/spec/factories"

FactoryGirl.define do
  factory :admin, class: Decidim::System::Admin do
    sequence(:email)      { |n| "admin#{n}@citizen.corp" }
    password              "password1234"
    password_confirmation "password1234"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-0.0.1 decidim-system/spec/factories.rb
decidim-0.0.1.alpha9 decidim-system/spec/factories.rb
decidim-0.0.1.alpha8 decidim-system/spec/factories.rb
decidim-0.0.1.alpha7 decidim-system/spec/factories.rb
decidim-0.0.1.alpha6 decidim-system/spec/factories.rb
decidim-0.0.1.alpha5 decidim-system/spec/factories.rb
decidim-0.0.1.alpha4 decidim-system/spec/factories.rb
decidim-0.0.1.alpha3 decidim-system/spec/factories.rb