Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Remove the cost column from service plans #1207

Merged
merged 3 commits into from
Aug 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions static_src/components/service_plan.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ class ServicePlan extends React.Component {
}

render() {
const { cost, plan } = this.props;
const { plan } = this.props;

return (
<tr>
<td label="Name">{ plan.name }</td>
<td label="Description">{ plan.description }</td>
<td label="Cost">{ cost }</td>
<td label="Actions">
<Action
classes={ ['test-create_service_instance'] }
Expand Down
6 changes: 0 additions & 6 deletions static_src/test/unit/components/service_plan.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ describe('<ServicePlan />', () => {
expect(description.text()).toBe(props.plan.description);
});

it('renders the cost of the plan', () => {
const cost = findPlanNodeByLabel(wrapper, 'Cost');

expect(cost.text()).toBe(props.cost);
});

it('calls its `onAddInstance` prop passing the plan guid from handler', () => {
wrapper.instance().handleClick();

Expand Down