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/c292f1b068115414d57e to your computer and use it in GitHub Desktop.
Save ryanbahniuk/c292f1b068115414d57e to your computer and use it in GitHub Desktop.
describe('filter-grayscale', function() {
var mixin;
var called;
beforeEach(function() {
mixin = sassaby.includedMixin('filter-grayscale');
called = mixin.calledWith('50%');
});
it('should make the correct declarations', function() {
called.declares('-webkit-filter', 'grayscale(50%)');
called.declares('-moz-filter', 'grayscale(50%)');
called.declares('-ms-filter', 'grayscale(50%)');
called.declares('-o-filter', 'grayscale(50%)');
called.declares('filter', 'grayscale(50%)');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment