about summary refs log tree commit diff
path: root/spec/policies/report_policy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/policies/report_policy_spec.rb')
-rw-r--r--spec/policies/report_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/report_policy_spec.rb b/spec/policies/report_policy_spec.rb
index c9ae1e87a..84c366d7f 100644
--- a/spec/policies/report_policy_spec.rb
+++ b/spec/policies/report_policy_spec.rb
@@ -6,7 +6,7 @@ require 'pundit/rspec'
 RSpec.describe ReportPolicy do
   let(:subject) { described_class }
   let(:admin)   { Fabricate(:user, admin: true).account }
-  let(:john)    { Fabricate(:user).account }
+  let(:john)    { Fabricate(:account) }
 
   permissions :update?, :index?, :show? do
     context 'staff?' do