-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix registering on conference #1220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thank you for your contribution I have some suggestions before merge !
@@ -4,7 +4,7 @@ | |||
|
|||
module Decidim | |||
module Conferences | |||
describe ConferencesController do | |||
describe RegistrationTypesControllerController do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describe RegistrationTypesControllerController do | |
describe ConferencesController do |
No need to change the described class
let!(:registration_types) do | ||
create_list(:registration_type, registration_types_count, conference:) | ||
end | ||
let(:registration_type) { registration_types.first } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variable registration_type
end | ||
|
||
context "when registration_types is empty" do | ||
let(:registration_types) { nil } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let(:registration_types) { nil } | |
let(:registration_types) { [] } |
…1221) * fix: hide register button in conference when no registration types * lint: add missing space in conference show view page
Conference registering change requests
🎩 What? Why?
📌 Related Issues
📋 Subtasks
CHANGELOG
entry📷 Screenshots (optional)