Last active
February 26, 2018 18:46
-
-
Save corroded/0b4bb5ecefcdbbadd6fc5d3483d5d72d to your computer and use it in GitHub Desktop.
Sample Rspec to JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('street name is also a street type (Gap Road)', () => { | |
it('splits the street name/type properly', () => { | |
const result = streetTypeExtractor('Gap Road') | |
const expectedObject = { | |
streetName: 'Gap', | |
streetType: 'Road', | |
} | |
expect(result).to.deep.eq(expectedObject) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment