style check
This commit is contained in:
parent
a7e6931303
commit
d557cee249
24 changed files with 67 additions and 78 deletions
|
@ -2,7 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe Cerfa do
|
||||
describe 'database columns' do
|
||||
it { is_expected.to have_db_column(:content)}
|
||||
it { is_expected.to have_db_column(:content) }
|
||||
end
|
||||
|
||||
describe 'associations' do
|
||||
|
@ -10,7 +10,7 @@ describe Cerfa do
|
|||
end
|
||||
|
||||
describe 'empty?' do
|
||||
subject { create(:cerfa, content: content)}
|
||||
subject { create(:cerfa, content: content) }
|
||||
context 'when content exist' do
|
||||
let(:content) { File.open('./spec/support/files/piece_jointe_388.pdf') }
|
||||
it { expect(subject).not_to be_empty }
|
||||
|
@ -20,4 +20,4 @@ describe Cerfa do
|
|||
it { expect(subject).to be_empty }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue