Clasify system has resources card
Signed-off-by: David Tuite <david@roadie.io>
This commit is contained in:
@@ -66,7 +66,7 @@ describe('<HasResourcesCard />', () => {
|
||||
</Wrapper>,
|
||||
);
|
||||
|
||||
expect(getByText('Resources')).toBeInTheDocument();
|
||||
expect(getByText('Has resources')).toBeInTheDocument();
|
||||
expect(
|
||||
getByText(/No resource is part of this system/i),
|
||||
).toBeInTheDocument();
|
||||
@@ -114,7 +114,7 @@ describe('<HasResourcesCard />', () => {
|
||||
);
|
||||
|
||||
await waitFor(() => {
|
||||
expect(getByText('Resources')).toBeInTheDocument();
|
||||
expect(getByText('Has resources')).toBeInTheDocument();
|
||||
expect(getByText(/target-name/i)).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ export const HasResourcesCard = ({ variant = 'gridItem' }: Props) => {
|
||||
return (
|
||||
<RelatedEntitiesCard
|
||||
variant={variant}
|
||||
title="Resources"
|
||||
title="Has resources"
|
||||
entityKind="Resource"
|
||||
relationType={RELATION_HAS_PART}
|
||||
columns={resourceEntityColumns}
|
||||
|
||||
Reference in New Issue
Block a user