diff options
Diffstat (limited to 'spec/serializers/move_to_project_entity_spec.rb')
-rw-r--r-- | spec/serializers/move_to_project_entity_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/serializers/move_to_project_entity_spec.rb b/spec/serializers/move_to_project_entity_spec.rb index a14bc3ae622..fad49ceb067 100644 --- a/spec/serializers/move_to_project_entity_spec.rb +++ b/spec/serializers/move_to_project_entity_spec.rb @@ -12,8 +12,12 @@ RSpec.describe MoveToProjectEntity do expect(subject[:id]).to eq(project.id) end - it 'includes the full path' do + it 'includes the human-readable full path' do expect(subject[:name_with_namespace]).to eq(project.name_with_namespace) end + + it 'includes the full path' do + expect(subject[:full_path]).to eq(project.full_path) + end end end |