Fix test file, which should be against the newest version

This commit is contained in:
Tessa Kelly 2020-07-31 13:18:31 -07:00
parent 2aa97e4f5d
commit 603a1f1e5a

View File

@ -1,8 +1,8 @@
module Spec.Nri.Ui.SortableTable.V1 exposing (spec)
module Spec.Nri.Ui.SortableTable.V2 exposing (spec)
import Expect exposing (Expectation)
import Html.Styled
import Nri.Ui.SortableTable.V1 as SortableTable
import Nri.Ui.SortableTable.V2 as SortableTable
import Test exposing (..)
import Test.Html.Query as Query
import Test.Html.Selector as Selector
@ -33,12 +33,14 @@ config =
, header = "First name"
, value = .firstName
, width = 125
, cellStyles = \_ -> []
}
, SortableTable.string
{ id = LastName
, header = "Last name"
, value = .lastName
, width = 125
, cellStyles = \_ -> []
}
]
}