mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-14 03:48:13 +03:00
Fix spec
This commit is contained in:
parent
3fa130da65
commit
7324f5508b
@ -100,7 +100,7 @@ spec =
|
||||
, isLocked = False
|
||||
, isPremium = False
|
||||
}
|
||||
|> Query.has [ Selector.disabled False ]
|
||||
|> Query.hasNot [ Selector.attribute (Attributes.attribute "aria-disabled" "true") ]
|
||||
, test "is disabled when disabled = True" <|
|
||||
\() ->
|
||||
premiumView
|
||||
@ -109,6 +109,6 @@ spec =
|
||||
, isLocked = False
|
||||
, isPremium = False
|
||||
}
|
||||
|> Query.has [ Selector.disabled True ]
|
||||
|> Query.has [ Selector.attribute (Attributes.attribute "aria-disabled" "true") ]
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user