Commit a682686e79a1015616e0b07e67c38a7f6b60bd47

Authored by Heitor
Committed by Diego Camarinha
1 parent 0c958174

Make KalibroConfiguration and ReadingGroup factories public by default

Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
spec/factories/kalibro_configuration_attributes.rb
... ... @@ -2,8 +2,10 @@
2 2  
3 3 FactoryGirl.define do
4 4 factory :kalibro_configuration_attributes, class: KalibroConfigurationAttributes do
  5 + sequence(:id, 1)
5 6 association :user, strategy: :build
6 7 association :kalibro_configuration, :with_id, strategy: :build
  8 + self.public true
7 9  
8 10 trait :private do
9 11 self.public false
... ...
spec/factories/reading_group_attributes.rb
... ... @@ -2,8 +2,10 @@
2 2  
3 3 FactoryGirl.define do
4 4 factory :reading_group_attributes, class: ReadingGroupAttributes do
  5 + sequence(:id, 1)
5 6 association :user, strategy: :build
6 7 association :reading_group, :with_id, strategy: :build
  8 + self.public true
7 9  
8 10 trait :private do
9 11 self.public false
... ...