Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-28 11:50:28 +01:00
update back-end tests
Dieser Commit ist enthalten in:
Ursprung
2c109c54f5
Commit
8407227f53
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -20,7 +20,7 @@ describe CustomWizard::AdminController do
|
|||
end
|
||||
|
||||
it "returns the right subscription details" do
|
||||
get "/admin/wizards.json"
|
||||
get "/admin/wizards/subscription.json"
|
||||
expect(response.parsed_body["subscribed"]).to eq(false)
|
||||
expect(response.parsed_body["subscription_attributes"]).to eq(CustomWizard::Subscription.attributes.as_json)
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe CustomWizard::AdminController do
|
|||
end
|
||||
|
||||
it "returns the right subscription details" do
|
||||
get "/admin/wizards.json"
|
||||
get "/admin/wizards/subscription.json"
|
||||
expect(response.parsed_body["subscribed"]).to eq(true)
|
||||
expect(response.parsed_body["subscription_type"]).to eq("standard")
|
||||
end
|
||||
|
|
Laden …
In neuem Issue referenzieren