summaryrefslogtreecommitdiffstats
path: root/tpl/resources/integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/resources/integration_test.go')
-rw-r--r--tpl/resources/integration_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/tpl/resources/integration_test.go b/tpl/resources/integration_test.go
index 0e0a29a98..02aa5d29d 100644
--- a/tpl/resources/integration_test.go
+++ b/tpl/resources/integration_test.go
@@ -72,10 +72,9 @@ Copy3: /blog/js/copies/moo.a677329fc6c4ad947e0c7116d91f37a2.min.js|text/javascri
`)
- b.AssertDestinationExists("images/copy2.png", true)
+ b.AssertFileExists("public/images/copy2.png", true)
// No permalink used.
- b.AssertDestinationExists("images/copy3.png", false)
-
+ b.AssertFileExists("public/images/copy3.png", false)
}
func TestCopyPageShouldFail(t *testing.T) {
@@ -96,7 +95,6 @@ func TestCopyPageShouldFail(t *testing.T) {
}).BuildE()
b.Assert(err, qt.IsNotNil)
-
}
func TestGet(t *testing.T) {
@@ -125,5 +123,4 @@ Image OK
Empty string not found
`)
-
}