summaryrefslogtreecommitdiff
path: root/spec/serializers/group_child_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/group_child_entity_spec.rb')
-rw-r--r--spec/serializers/group_child_entity_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/serializers/group_child_entity_spec.rb b/spec/serializers/group_child_entity_spec.rb
index e4844c25067..59340181075 100644
--- a/spec/serializers/group_child_entity_spec.rb
+++ b/spec/serializers/group_child_entity_spec.rb
@@ -62,6 +62,10 @@ RSpec.describe GroupChildEntity do
expect(json[:edit_path]).to eq(edit_project_path(object))
end
+ it 'includes the last activity at' do
+ expect(json[:last_activity_at]).to be_present
+ end
+
it_behaves_like 'group child json'
end