drop dietary choices, social events, and html_export_path

This commit is contained in:
Stella Rouzi 2016-03-23 17:18:51 +02:00
parent 1fdd029a86
commit b9e10922ee
13 changed files with 315 additions and 39 deletions

View file

@ -1,9 +0,0 @@
FactoryGirl.define do
factory :social_event do
title 'Example Social Event'
description 'Lorem Ipsum Dolsum'
date { Date.today }
conference
end
end

View file

@ -29,8 +29,6 @@ describe 'Registration' do
describe 'association' do
it { is_expected.to belong_to(:user) }
it { is_expected.to belong_to(:conference) }
it { is_expected.to belong_to(:dietary_choice) }
it { is_expected.to have_and_belong_to_many(:social_events) }
it { is_expected.to have_and_belong_to_many(:events) }
it { is_expected.to have_and_belong_to_many(:qanswers) }
it { is_expected.to have_and_belong_to_many(:vchoices) }