Don't create 'test' file in model dir

This commit is contained in:
Jakob Borg 2014-09-22 21:34:54 +02:00
parent 928198bbfe
commit 3b512676b7

View File

@ -266,7 +266,7 @@ func TestNodeRename(t *testing.T) {
ClientVersion: "v0.9.4",
}
cfg := config.New("test", node1)
cfg := config.New("/tmp/test", node1)
cfg.Nodes = []config.NodeConfiguration{
{
NodeID: node1,
@ -303,7 +303,7 @@ func TestNodeRename(t *testing.T) {
}
func TestClusterConfig(t *testing.T) {
cfg := config.New("test", node1)
cfg := config.New("/tmp/test", node1)
cfg.Nodes = []config.NodeConfiguration{
{
NodeID: node1,