Style fixes

This commit is contained in:
Andres Keskküla 2014-10-16 12:01:34 +03:00
parent cb37ddf96d
commit 58077a7989
3 changed files with 3 additions and 29 deletions

View file

@ -64,11 +64,11 @@ describe DomainVersion do
end
context 'when removing child' do
it('has one domain version before events'){ expect(DomainVersion.count).to eq(1) }
it('has one domain version before events') { expect(DomainVersion.count).to eq(1) }
before(:each) { Domain.last.nameservers << Fabricate(:nameserver) }
it 'contact creates a version' do
# FIXME For some reason nameservers disappeared mid-test, but randomly stopped happening
# FIXME: For some reason nameservers disappeared mid-test, but randomly stopped happening
expect(DomainVersion.count).to eq(1)
DomainContact.last.destroy
expect(Domain.last.valid?).to be(true)