We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468c637 commit 6cbe3d0Copy full SHA for 6cbe3d0
spec/generators/devise/webauthn/install_generator_spec.rb
@@ -35,6 +35,14 @@
35
expect(generator).to have_received(:invoke)
36
.with("devise:webauthn:javascript")
37
end
38
+
39
+ # rubocop:disable Rails/DynamicFindBy
40
+ it "invoked generators are findable" do
41
+ expect(Rails::Generators.find_by_namespace("devise:webauthn:webauthn_credential_model")).not_to be_nil
42
+ expect(Rails::Generators.find_by_namespace("devise:webauthn:webauthn_id")).not_to be_nil
43
+ expect(Rails::Generators.find_by_namespace("devise:webauthn:javascript")).not_to be_nil
44
+ end
45
+ # rubocop:enable Rails/DynamicFindBy
46
47
48
context "when using a custom resource name" do
0 commit comments