consul/consul

View on GitHub
spec/factories/votation_type.rb

Summary

Maintainability
A
0 mins
Test Coverage
FactoryBot.define do
  factory :votation_type do
    factory :votation_type_unique do
      vote_type { "unique" }
    end

    factory :votation_type_multiple do
      vote_type { "multiple" }
      max_votes { 3 }
    end

    questionable factory: :poll_question
  end
end