Drop Organization from specs
This commit is contained in:
parent
275be8c80a
commit
85149dc837
19 changed files with 14 additions and 959 deletions
|
|
@ -1,17 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
|
||||
describe Organization do
|
||||
let(:organization) { create(:organization) }
|
||||
|
||||
describe 'validation' do
|
||||
it 'is not valid without a name' do
|
||||
should validate_presence_of(:name)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'associations' do
|
||||
it { should have_many(:conferences).dependent(:destroy) }
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue