mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-16 00:20:00 +01:00
Fix title helper tests
This commit is contained in:
parent
a9cfa3fccc
commit
03a4ea512a
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ require "rails_helper"
|
|||
|
||||
describe ApplicationHelper::TitleMethods, type: :helper do
|
||||
let(:user) { FactoryBot.create(:user) }
|
||||
let(:current_user) { user } # we can't use the `current_user` helper here, because it's not defined in the helper we're testing
|
||||
|
||||
before do
|
||||
stub_const("APP_CONFIG", {
|
||||
|
|
Loading…
Reference in a new issue