change user registration to false#1046
Conversation
GitLab Pipeline ActionGeneral informationLink to pipeline: https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2601896275 Status: Passed Job summariesrspec: [cloud]Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14856623777/artifacts/tmp/coverage/index.html rspec: [ee]Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14856623776/artifacts/tmp/coverage/index.html rspec: [ce]Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/14856623775/artifacts/tmp/coverage/index.html docs:previewDocumentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14856679372/artifacts/out/index.html rubocop909 files inspected, no offenses detected |
e64e83f to
49e6886
Compare
| it 'defaults user registration to disabled' do | ||
| described_class.delete_all | ||
| SeedFu.seed(SeedFu.fixture_paths, /01_application_settings/) | ||
|
|
||
| expect(described_class.current[:user_registration_enabled]).to be false | ||
| ensure | ||
| described_class.delete_all | ||
| SeedFu.seed(SeedFu.fixture_paths, /01_application_settings/) | ||
| end | ||
|
|
There was a problem hiding this comment.
We don't really need a spec to assert a default value
| it 'defaults user registration to disabled' do | |
| described_class.delete_all | |
| SeedFu.seed(SeedFu.fixture_paths, /01_application_settings/) | |
| expect(described_class.current[:user_registration_enabled]).to be false | |
| ensure | |
| described_class.delete_all | |
| SeedFu.seed(SeedFu.fixture_paths, /01_application_settings/) | |
| end |
Resolves: #984