Commit 018dcf92 authored by Brett Walker's avatar Brett Walker

Fix incorrect spec

parent e2d33de2
...@@ -53,11 +53,11 @@ RSpec.describe Projects::CreateService, '#execute' do ...@@ -53,11 +53,11 @@ RSpec.describe Projects::CreateService, '#execute' do
end end
context 'when path is set' do context 'when path is set' do
let(:opts) { { name: 'one.two_three-four' } } let(:opts) { { path: 'one.two_three-four' } }
it 'sets name == path' do it 'sets name == path' do
expect(project.name).to eq('one.two_three-four') expect(project.path).to eq('one.two_three-four')
expect(project.path).to eq(project.name) expect(project.name).to eq(project.path)
end end
end end
......
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