suggested changes

This commit is contained in:
shlok007 2017-06-06 20:04:39 +05:30
parent ac85bad9b3
commit 3fb316482c
10 changed files with 176 additions and 110 deletions

View file

@ -4,10 +4,6 @@ describe Organization do
let(:organization) { create(:organization) }
describe 'validation' do
it 'has a valid factory' do
expect(build(:organization)).to be_valid
end
it 'is not valid without a name' do
should validate_presence_of(:name)
end