summaryrefslogtreecommitdiff
path: root/spec/models/abuse_report_spec.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-07 11:55:04 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-07 11:59:57 +0200
commitefd62b76ccaadc95b14667f6f38e84d0f84b51ee (patch)
tree77d566562de7946e24043acdaca9353f3880f663 /spec/models/abuse_report_spec.rb
parent563ea34692a18d82d9d1bc481002f19b8a407508 (diff)
downloadgitlab-ce-rubocop/gb/enable-dot-position-cop-leading-style.tar.gz
Enable Style/DotPosition Rubocop :cop:rubocop/gb/enable-dot-position-cop-leading-style
Diffstat (limited to 'spec/models/abuse_report_spec.rb')
-rw-r--r--spec/models/abuse_report_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/abuse_report_spec.rb b/spec/models/abuse_report_spec.rb
index 90aec2b45e6..c1bf5551fe0 100644
--- a/spec/models/abuse_report_spec.rb
+++ b/spec/models/abuse_report_spec.rb
@@ -36,8 +36,8 @@ RSpec.describe AbuseReport, type: :model do
describe '#notify' do
it 'delivers' do
- expect(AbuseReportMailer).to receive(:notify).with(subject.id).
- and_return(spy)
+ expect(AbuseReportMailer).to receive(:notify).with(subject.id)
+ .and_return(spy)
subject.notify
end