Skip to content

Instantly share code, notes, and snippets.

@ryanbahniuk
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanbahniuk/a1d4408d32c7192f53b7 to your computer and use it in GitHub Desktop.
Save ryanbahniuk/a1d4408d32c7192f53b7 to your computer and use it in GitHub Desktop.
describe('rems', function() {
it('convert to px units to rem units', function() {
sassaby.func('rems').calledWithArgs('32px', '16px').equals('2rem');
});
it('has the correct output unit', function() {
sassaby.func('rems').calledWithArgs('32px', '16px').doesNotEqual('2em');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment