require('../spec_helper');

describe('Hello', () => {
  beforeEach(() => {
    const Hello = require('../../../app/components/hello');
    const person = Factory.build('person', {name: 'Felix'});
    ReactDOM.render(<Hello {...{person}}/>, root);
  });

  it('says hello to that person', () => {
    expect(root).toHaveText('Hello Felix');
  });

  it('works', () => {
    expect(true).toBe(true);
  });
});

require('../spec_helper');

describe('Hello', () => {
  beforeEach(() => {
    const Hello = require('../../../app/components/hello');
    const person = Factory.build('person', {name: 'Felix'});
    ReactDOM.render(<Hello {...{person}}/>, root);
  });

  it('says hello to that person', () => {
    expect(root).toHaveText('Hello Felix');
  });
});

Revert "added a test for travis"
Revert "added a test for travis"

This reverts commit b9aff738e8c17b3f980eb73a682aaac94bf8e7a1.

Signed-off-by: Adam Berkovec <561a1aa9cd22ff35a4cd9f01778138c4df0df67b@pivotal.io>
