Skip to content

Instantly share code, notes, and snippets.

@cnorthwood
Created May 18, 2016 09:48
Show Gist options
  • Save cnorthwood/d3b1fc1f5073a7681ad111ea92d14c5d to your computer and use it in GitHub Desktop.
Save cnorthwood/d3b1fc1f5073a7681ad111ea92d14c5d to your computer and use it in GitHub Desktop.
describe('Federation NOMA', () => {
it('has ambition', () => {
expect(federation.creativeWorkspace).toBe('great');
expect(federation.buildings.length).toBeGreaterThan(1);
expect(federation.people.filter((person) => person.cares)).toBeNonEmpty();
expect(federation.wifiSpeedMbps).toEqual(1024);
});
it('can have my people too', () => {
expect(federation.accept(require('my-people'))).toBeTruthy();
});
it('has pubs nearby', () => {
expect(federation.pubs).toInclude("Sadler's Yard");
expect(federation.pubs).toInclude("The Pilcrow Pub");
});
});
3 specs, 0 failures, 3 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment