Fix Rubocop offense
This commit is contained in:
parent
1dc30595e3
commit
c517788e67
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue