houndci fixes
This commit is contained in:
parent
c67700e0ae
commit
a0aa523122
11 changed files with 39 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ FactoryGirl.define do
|
|||
end_date Date.tomorrow
|
||||
factory :conference_with_sponsorship_level do
|
||||
after(:build) do |conference|
|
||||
conference.sponsorship_levels << build(:sponsorship_level, conference: conference)
|
||||
conference.sponsorship_levels << build(:sponsorship_level, conference: conference)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ FactoryGirl.define do
|
|||
sponsorship_level
|
||||
organization
|
||||
after(:build) do |sponsorship_registration|
|
||||
sponsorship_registration.sponsorship_level =
|
||||
build(:sponsorship_level,
|
||||
conference: sponsorship_registration.conference)
|
||||
sponsorship_registration.sponsorship_level =
|
||||
build(:sponsorship_level,
|
||||
conference: sponsorship_registration.conference)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue