Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
Make baseline test more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelig committed Jul 18, 2014
1 parent a8d09c7 commit d339baa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions specs/rem.scss
Expand Up @@ -22,7 +22,8 @@
@include should( expect( rem(10px) ), to( equal(.5rem) ) );
}
@include it("should honour a different rem scale when passed as a parameter") {
@include should( expect( rem(10px, 20px) ), to( equal(.5rem) ) );
@include should( expect( rem(10px 20px, 20px) ), to( equal(.5rem 1rem) ) );
$guss-rem-baseline: 10px !global; // Set default baseline back to its initial value
@include should( expect( rem(10px, 40px) ), to( equal(.25rem) ) );
@include should( expect( rem(10px 20px, 40px) ), to( equal(.25rem .5rem) ) );
}
}

0 comments on commit d339baa

Please sign in to comment.