creating default organization while creating a conference

This commit is contained in:
shlok007 2017-06-07 11:11:29 +05:30
parent 3fb316482c
commit cce3ff7aea
3 changed files with 14 additions and 4 deletions

View file

@ -1630,7 +1630,7 @@ describe Conference do
end
describe 'after_create' do
let(:conference) { Conference.new(title: 'ABC', short_title: 'XYZ', start_date: Date.today, end_date: Date.today + 10, timezone: 'GMT') }
let(:conference) { create(:conference) }
it 'calls back to create free ticket' do
conference.save