on master help sign in
Merge pull request #274 from obsidiansystems/ts-fix-tests

Fix obelisk project tests

commit10bd7519677f6b0ee5c2c4a082dbf9a4d62d9ac7 authorLuigy Leon <luichi.19@gmail.com> dateTue 30 Oct 2018, 11:39 (8 years ago) parentd9ec81132b9aae
1 file changed+3−3
lib/selftest/src/Obelisk/SelfTest.hs+3−3
lib/selftest/src/Obelisk/SelfTest.hs+3−3
@@ -138,9 +138,9 @@ main = do
138138 testObRunInDir p2 p3 (Just "frontend") httpManager
139139
140140 describe "obelisk project" $ parallel $ do
141− it "can build obelisk command" $ shelly_ $ run "nix-build" ["-A", "command" , obeliskImpl]
142− it "can build obelisk skeleton" $ shelly_ $ run "nix-build" ["-A", "skeleton", obeliskImpl]
143− it "can build obelisk shell" $ shelly_ $ run "nix-build" ["-A", "shell", obeliskImpl]
141+ it "can build obelisk command" $ inTmpObInit $ \_ -> run "nix-build" ["-A", "command" , obeliskImpl]
142+ it "can build obelisk skeleton" $ inTmpObInit $ \_ -> run "nix-build" ["-A", "skeleton", obeliskImpl]
143+ it "can build obelisk shell" $ inTmpObInit $ \_ -> run "nix-build" ["-A", "shell", obeliskImpl]
144144 -- See https://github.com/obsidiansystems/obelisk/issues/101
145145 -- it "can build everything" $ shelly_ $ run "nix-build" [obeliskImpl]
146146