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 Admin::TableActionsComponent, type: :component, controller: Admin::BaseController do
describe Admin::TableActionsComponent, controller: Admin::BaseController do
let(:record) { create(:banner) }
it "renders links to edit and destroy a record by default" do