Skip to content

Commit

Permalink
Follow changes in himura/twitter-types#19
Browse files Browse the repository at this point in the history
  • Loading branch information
himura committed Mar 1, 2015
1 parent 6419fbc commit 8756c29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/StatusSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module StatusSpec where
import Control.Lens
import Data.Conduit
import qualified Data.Conduit.List as CL
import Data.Time
import Network.HTTP.Conduit
import System.IO.Unsafe
import Web.Twitter.Conduit (call, accountVerifyCredentials, sourceWithMaxId, TWInfo)
Expand Down Expand Up @@ -74,7 +75,7 @@ integrated = do
res <- withManager $ \mgr -> call twInfo mgr $ showId 477833886768959488
res ^. statusId `shouldBe` 477833886768959488
res ^. statusText `shouldBe` "真紅かわいいはアレセイア"
res ^. statusCreatedAt `shouldBe` "Sat Jun 14 15:24:10 +0000 2014"
res ^. statusCreatedAt `shouldBe` UTCTime (fromGregorian 2014 6 14) (secondsToDiffTime 55450)
res ^. statusUser . userScreenName `shouldBe` "thimura"

describe "update & destroyId" $ do
Expand Down

0 comments on commit 8756c29

Please sign in to comment.