diff options
| author | Michael Kozono <mkozono@gmail.com> | 2018-01-11 10:22:40 -0800 |
|---|---|---|
| committer | Michael Kozono <mkozono@gmail.com> | 2018-01-11 10:22:40 -0800 |
| commit | c517788e671a0a81b08dbad1fb4537f0f56a43d0 (patch) | |
| tree | 888052dc8c1250a99b2dc5904afaac71ab661aea | |
| parent | 1dc30595e34eac0fcfa28e0dca2b7a22c02bacc3 (diff) | |
| download | gitlab-ce-c517788e671a0a81b08dbad1fb4537f0f56a43d0.tar.gz | |
Fix Rubocop offense
| -rw-r--r-- | spec/models/route_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/route_spec.rb b/spec/models/route_spec.rb index 2f141d96144..1266e0ea602 100644 --- a/spec/models/route_spec.rb +++ b/spec/models/route_spec.rb @@ -19,7 +19,7 @@ describe Route do describe '#ensure_permanent_paths' do context 'when the route is not yet persisted' do - let(:new_route) { Route.new(path: 'foo', source: build(:group)) } + let(:new_route) { described_class.new(path: 'foo', source: build(:group)) } context 'when permanent conflicting redirects exist' do it 'is invalid' do |
