noredink-ui/tests/Spec/Nri/Ui/Checkbox/V4.elm
mavnn ae7aa6047c
Add Checkbox.V4/PremiumCheckbox.V3 with correct text styling
Previous versions relied on the nri2015 sass stylesheet for label style.
2018-12-14 12:18:49 +00:00

22 lines
622 B
Elm

module Spec.Nri.Ui.Checkbox.V4 exposing (all)
import Expect exposing (Expectation)
import Nri.Ui.Checkbox.V4 as Checkbox
import Test exposing (..)
all : Test
all =
describe "Nri.Ui.Checkbox.V3"
[ describe "selectedFromBool"
[ test "it handles Selected" <|
\() ->
Checkbox.selectedFromBool True
|> Expect.equal Checkbox.Selected
, test "it handles NotSelected" <|
\() ->
Checkbox.selectedFromBool False
|> Expect.equal Checkbox.NotSelected
]
]