2018-11-06 16:20:11 +01:00
|
|
|
describe Champs::YesNoChamp do
|
2023-01-05 12:18:27 +01:00
|
|
|
it_behaves_like "a boolean champ" do
|
2024-07-01 15:31:32 +02:00
|
|
|
let(:boolean_champ) { described_class.new(value: value) }
|
|
|
|
before { allow(boolean_champ).to receive(:type_de_champ).and_return(build(:type_de_champ_yes_no)) }
|
2018-11-06 16:20:11 +01:00
|
|
|
end
|
|
|
|
end
|