Skip to content

Commit

Permalink
fix grammar on test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Etienne committed Oct 28, 2019
1 parent 7652c66 commit c2dffa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/product-react/src/components/Radio/Radio.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import Enzyme from 'enzyme';
import Radio from './Radio';

describe('Radio', () => {
test('it renders a radio', () => {
test('should render a radio', () => {
const wrapper = Enzyme.mount(<Radio id="radiotest" />);
expect(wrapper.find('.ray-radio').length).toBe(1);
});

test('it supports a custom class', () => {
test('should supports a custom class', () => {
const wrapper = Enzyme.mount(
<Radio className="some-custom-class" id="radiotest" label="henlo" />
);
expect(wrapper.find('.ray-radio.some-custom-class').length).toBe(1);
});

test('it a pill style', () => {
test('should render a radio pill', () => {
const wrapper = Enzyme.mount(
<Radio className="some-custom-class" id="radiotest" label="henlo" pill />
);
Expand Down

0 comments on commit c2dffa9

Please sign in to comment.