Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Data #982

Merged
merged 9 commits into from May 2, 2016

Conversation

@hennevogel
Copy link
Member

commented May 2, 2016

Add a rake task to load the :full_conference factory into the database. We're going to use this for the demo instance and the review apps.

question.answers << build(:answer)
question.conferences << build(:conference)
end
conferences { [create(:conference)] }

This comment has been minimized.

Copy link
@ChrisBr

ChrisBr May 2, 2016

Member

create_list ?

This comment has been minimized.

Copy link
@hennevogel

hennevogel May 2, 2016

Author Member

What is the difference between create_list with 1 and create? :-)

This comment has been minimized.

Copy link
@ChrisBr

ChrisBr May 2, 2016

Member

I guess you don't have to wrap it into the array anymore?

This comment has been minimized.

Copy link
@hennevogel

hennevogel May 2, 2016

Author Member

True. But I find this not very obvious...

This comment has been minimized.

Copy link
@ChrisBr

ChrisBr May 2, 2016

Member

Ok, then leave it as it is

question.conferences << build(:conference)
end
conferences { [create(:conference)] }
answers { [create(:answer)] }

This comment has been minimized.

Copy link
@ChrisBr

ChrisBr May 2, 2016

Member

same here

@ChrisBr

This comment has been minimized.

Copy link
Member

commented May 2, 2016

LGTM

@hennevogel hennevogel force-pushed the hennevogel:feature_demo_data branch from 2206452 to 8fa92b7 May 2, 2016

@hennevogel hennevogel merged commit 12c5e3d into openSUSE:master May 2, 2016

3 checks passed

Hakiri No security warnings were found.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.2%) to 84.652%
Details

@hennevogel hennevogel deleted the hennevogel:feature_demo_data branch May 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.