Commit c517788e authored by Michael Kozono's avatar Michael Kozono

Fix Rubocop offense

parent 1dc30595
...@@ -19,7 +19,7 @@ describe Route do ...@@ -19,7 +19,7 @@ describe Route do
describe '#ensure_permanent_paths' do describe '#ensure_permanent_paths' do
context 'when the route is not yet persisted' 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 context 'when permanent conflicting redirects exist' do
it 'is invalid' do it 'is invalid' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment