Infer type for component specs automatically
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require "rails_helper"
|
||||
|
||||
describe Admin::Roles::TableActionsComponent, type: :component, controller: Admin::BaseController do
|
||||
describe Admin::Roles::TableActionsComponent, controller: Admin::BaseController do
|
||||
let(:user) { create(:user) }
|
||||
|
||||
it "renders link to add the role for new records" do
|
||||
|
||||
Reference in New Issue
Block a user