Proper test users
This commit is contained in:
parent
246782fb82
commit
1eadef135c
@ -34,5 +34,5 @@ ac_choices:
|
||||
|
||||
teardown() {
|
||||
rm -f content/test.md
|
||||
rm -rf content/users
|
||||
rm -rf content/users/test
|
||||
}
|
||||
|
@ -26,5 +26,5 @@ On multiple lines" > content/users/test/content_test.content
|
||||
}
|
||||
|
||||
teardown() {
|
||||
rm -rf content/users
|
||||
rm -rf content/users/test
|
||||
}
|
||||
|
@ -1,9 +1,5 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
setup() {
|
||||
mkdir -p content/users/create_test
|
||||
}
|
||||
|
||||
@test "Create user" {
|
||||
echo "users" > content/users/create_test.create
|
||||
|
||||
@ -34,7 +30,3 @@ setup() {
|
||||
[ ! -e content/users/create_test/_index.md ]
|
||||
[ ! -e content/users/create_test ]
|
||||
}
|
||||
|
||||
teardown() {
|
||||
rm -rf content/users
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ ac_delete:
|
||||
teardown() {
|
||||
rm -f content/test.md
|
||||
rm -rf content/pages/test
|
||||
rm -rf content/users
|
||||
rm -rf content/users/test
|
||||
rm -f content/simple_link_test.md
|
||||
rm -f content/to_create_test.md
|
||||
rm -f content/to_delete_test.md
|
||||
|
@ -127,5 +127,5 @@ ac_choices:
|
||||
}
|
||||
|
||||
teardown() {
|
||||
rm -rf content/users
|
||||
rm -rf content/users/test
|
||||
}
|
||||
|
4
content/users/_index.md
Normal file
4
content/users/_index.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Utilisateurs
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user