Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-28 11:50:28 +01:00
improve file names
Dieser Commit ist enthalten in:
Ursprung
ab74d5e987
Commit
080096cfa5
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -7,7 +7,7 @@ describe CustomWizard::StepsController do
|
||||||
let(:wizard_field_condition_template) { get_wizard_fixture("condition/wizard_field_condition") }
|
let(:wizard_field_condition_template) { get_wizard_fixture("condition/wizard_field_condition") }
|
||||||
let(:user_condition_template) { get_wizard_fixture("condition/user_condition") }
|
let(:user_condition_template) { get_wizard_fixture("condition/user_condition") }
|
||||||
let(:permitted_json) { get_wizard_fixture("wizard/permitted") }
|
let(:permitted_json) { get_wizard_fixture("wizard/permitted") }
|
||||||
let(:permitted_admin_json) { get_wizard_fixture("wizard/permitted_admin") }
|
let(:admin_permitted_json) { get_wizard_fixture("wizard/admin_permitted") }
|
||||||
let(:route_to_template) { get_wizard_fixture("actions/route_to") }
|
let(:route_to_template) { get_wizard_fixture("actions/route_to") }
|
||||||
let(:guests_permitted) { get_wizard_fixture("wizard/guests_permitted") }
|
let(:guests_permitted) { get_wizard_fixture("wizard/guests_permitted") }
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ describe CustomWizard::StepsController do
|
||||||
it "when the user cant access the wizard" do
|
it "when the user cant access the wizard" do
|
||||||
enable_subscription("standard")
|
enable_subscription("standard")
|
||||||
new_template = wizard_template.dup
|
new_template = wizard_template.dup
|
||||||
new_template["permitted"] = permitted_admin_json["permitted"]
|
new_template["permitted"] = admin_permitted_json["permitted"]
|
||||||
CustomWizard::Template.save(new_template, skip_jobs: true)
|
CustomWizard::Template.save(new_template, skip_jobs: true)
|
||||||
|
|
||||||
put '/w/super-mega-fun-wizard/steps/step_1.json'
|
put '/w/super-mega-fun-wizard/steps/step_1.json'
|
||||||
|
|
Laden …
In neuem Issue referenzieren