port ProjectMirrorSerializer
This commit is contained in:
parent
a68f24164e
commit
56744742a9
2 changed files with 10 additions and 0 deletions
3
app/serializers/project_mirror_serializer.rb
Normal file
3
app/serializers/project_mirror_serializer.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class ProjectMirrorSerializer < BaseSerializer
|
||||
entity ProjectMirrorEntity
|
||||
end
|
7
spec/serializers/project_mirror_serializer_spec.rb
Normal file
7
spec/serializers/project_mirror_serializer_spec.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe ProjectMirrorSerializer do
|
||||
it 'represents ProjectMirror entities' do
|
||||
expect(described_class.entity_class).to eq(ProjectMirrorEntity)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue