Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
slawosz committed Mar 25, 2024
1 parent 00a0ca8 commit 185fa29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/lib/services/feature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

it "returns true" do
expect(described_class.registration_closed?).to eq false
expect(described_class.registration_closed?(nil)).to eq false
end
end

Expand All @@ -18,7 +18,7 @@
end

it "returns false" do
expect(described_class.registration_closed?).to eq true
expect(described_class.registration_closed?(nil)).to eq true
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/registration_wizard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

context "when registration is closed" do
before do
Flipper.enable(Feature::REGISTRATION_CLOSED_KEY)
Flipper.enable(Feature::REGISTRATION_OPEN)
end

it "always returns closed" do
Expand Down

0 comments on commit 185fa29

Please sign in to comment.