mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-12 12:33:10 +03:00
ae7aa6047c
Previous versions relied on the nri2015 sass stylesheet for label style.
22 lines
622 B
Elm
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
|
|
]
|
|
]
|