Commit a682686e79a1015616e0b07e67c38a7f6b60bd47
Committed by
Diego Camarinha
1 parent
0c958174
Exists in
colab
and in
4 other branches
Make KalibroConfiguration and ReadingGroup factories public by default
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
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 | ... | ... |