Infer type for component specs automatically

This commit is contained in:
Javi Martín
2021-08-17 22:07:39 +02:00
parent e5cd763385
commit 4cbf945228
51 changed files with 54 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
require "rails_helper"
describe Layout::SocialComponent, type: :component do
describe Layout::SocialComponent do
describe "#render?" do
it "renders when a social setting is present" do
Setting["twitter_handle"] = "myhandle"