2018-02-09 17:38:30 +01:00
|
|
|
describe Champ do
|
|
|
|
describe '#private?' do
|
2018-02-13 17:00:19 +01:00
|
|
|
let(:type_de_champ) { build(:type_de_champ, :private) }
|
2024-07-01 15:31:32 +02:00
|
|
|
let(:champ) { type_de_champ.build_champ }
|
2016-08-08 12:52:30 +02:00
|
|
|
|
2018-02-09 17:38:30 +01:00
|
|
|
it { expect(champ.private?).to be_truthy }
|
|
|
|
it { expect(champ.public?).to be_falsey }
|
|
|
|
end
|
2017-04-04 15:27:04 +02:00
|
|
|
end
|