Infer type for component specs automatically
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require "rails_helper"
|
||||
|
||||
describe Admin::Stats::SDG::GoalComponent, type: :component do
|
||||
describe Admin::Stats::SDG::GoalComponent do
|
||||
let(:component) { Admin::Stats::SDG::GoalComponent.new(goal: goal) }
|
||||
let(:goal) { SDG::Goal.sample }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user