Make champ PJ generally available
This commit is contained in:
parent
64d32c6afc
commit
57a136c861
5 changed files with 12 additions and 22 deletions
|
@ -107,20 +107,6 @@ describe TypesDeChampService do
|
|||
|
||||
subject { service.options }
|
||||
|
||||
context "when the champ_pj is enabled" do
|
||||
before do
|
||||
Flipflop::FeatureSet.current.test!.switch!(:champ_pj, true)
|
||||
end
|
||||
|
||||
it { is_expected.to include(pj_option) }
|
||||
end
|
||||
|
||||
context "when the champ_pj is disabled" do
|
||||
before do
|
||||
Flipflop::FeatureSet.current.test!.switch!(:champ_pj, false)
|
||||
end
|
||||
|
||||
it { is_expected.not_to include(pj_option) }
|
||||
end
|
||||
it { is_expected.to include(pj_option) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue