demarches-normaliennes/spec/models/piece_jointe_spec.rb

12 lines
278 B
Ruby
Raw Normal View History

require 'spec_helper'
describe PieceJointe do
describe 'database columns' do
it { is_expected.to have_db_column(:content) }
end
describe 'associations' do
it { is_expected.to belong_to(:dossier) }
it { is_expected.to belong_to(:type_piece_jointe) }
end
end