Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2017-02-21 10:20:05 +0300
committerTimothy Andrew <mail@timothyandrew.net>2017-02-24 14:20:21 +0300
commit53aa043724a0395a2f95f41b8f3fb4c308691874 (patch)
tree9a495acefdab3f45f3422d09177a0168c0906cc7 /spec/models/abuse_report_spec.rb
parent6fdb17cbbe5dc70d18f50e9d131ab70407976a71 (diff)
Fix specs for the ghost user feature.
Diffstat (limited to 'spec/models/abuse_report_spec.rb')
-rw-r--r--spec/models/abuse_report_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/abuse_report_spec.rb b/spec/models/abuse_report_spec.rb
index c4486a32082..4e71597521d 100644
--- a/spec/models/abuse_report_spec.rb
+++ b/spec/models/abuse_report_spec.rb
@@ -2,7 +2,7 @@ require 'rails_helper'
RSpec.describe AbuseReport, type: :model do
subject { create(:abuse_report) }
- let(:user) { create(:user) }
+ let(:user) { create(:admin) }
it { expect(subject).to be_valid }