diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
commit | 4a191c83d1db31aac16241dbf99ac45088efb99a (patch) | |
tree | c5035e58f55263a2d59a8b5cb606326056a13a58 /spec/finders | |
parent | dfb9cab828a11cf00522734d11c2472e8b540b5c (diff) | |
download | gitlab-ce-4a191c83d1db31aac16241dbf99ac45088efb99a.tar.gz |
Enable Lint/StringConversionInInterpolation cop and autocorrect offensesrs-string-conversion-in-interpolation
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/access_requests_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/access_requests_finder_spec.rb b/spec/finders/access_requests_finder_spec.rb index 626513200e4..8cfea9659cb 100644 --- a/spec/finders/access_requests_finder_spec.rb +++ b/spec/finders/access_requests_finder_spec.rb @@ -16,7 +16,7 @@ describe AccessRequestsFinder, services: true do access_requesters = described_class.new(source).public_send(method_name, user) expect(access_requesters.size).to eq(1) - expect(access_requesters.first).to be_a "#{source.class.to_s}Member".constantize + expect(access_requesters.first).to be_a "#{source.class}Member".constantize expect(access_requesters.first.user).to eq(access_requester) end end |