Skip to content

Commit

Permalink
fix: specs (hitobito_youth#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegosteiner committed Sep 23, 2024
1 parent 5a82d73 commit 6ecd5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/events_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
let(:date) do
{label: "foo", start_at_date: Time.zone.today, finish_at_date: Time.zone.today}
end
let(:question) { {question: "foo?", choices: "1,2,3,4"} }
let(:question) { {question: "foo?", choices: "1,2,3,4", disclosure: :optional} }

it "creates new event course with dates" do
sign_in(people(:top_leader))
Expand Down Expand Up @@ -282,7 +282,7 @@
let(:date) do
{label: "foo", start_at_date: Time.zone.today, finish_at_date: Time.zone.today}
end
let(:question) { {question: "foo?", choices: "1,2,3,4"} }
let(:question) { {question: "foo?", choices: "1,2,3,4", disclosure: :optional} }

it "creates new event course with dates" do
sign_in(people(:top_leader))
Expand Down

0 comments on commit 6ecd5a3

Please sign in to comment.