This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2016-10-09 19:01:10 -07:00
|
|
|
import { expect } from 'chai';
|
|
|
|
import { shallow } from 'enzyme';
|
|
|
|
|
|
|
|
import LoadingIndicator from '../../../app/assets/javascripts/components/components/loading_indicator'
|
|
|
|
|
2016-10-10 13:46:37 -07:00
|
|
|
describe('<LoadingIndicator />', () => {
|
|
|
|
it('renders text that indicates loading', () => {
|
2016-10-09 19:01:10 -07:00
|
|
|
const wrapper = shallow(<LoadingIndicator />);
|
|
|
|
expect(wrapper.text()).to.match(/loading/i);
|
|
|
|
});
|
|
|
|
});
|