Skip to content

Commit

Permalink
correction after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset committed Apr 18, 2024
1 parent 10f2354 commit 5a3bb1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Decidim
module Conferences
describe RegistrationTypesControllerController do
describe ConferencesController do
routes { Decidim::Conferences::Engine.routes }

let(:organization) { create(:organization) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module Conferences
let!(:registration_types) do
create_list(:registration_type, registration_types_count, conference:)
end
let(:registration_type) { registration_types.first }

before do
request.env["decidim.current_organization"] = organization
Expand All @@ -36,7 +35,8 @@ module Conferences
end

context "when registration_types is empty" do
let(:registration_types) { nil }
let(:registration_types) { [] }

context "and current_participatory_space registrations is enabled" do
it "does raise an error" do
expect { get :index, params: { conference_slug: conference.slug } }
Expand Down

0 comments on commit 5a3bb1f

Please sign in to comment.