Ensures that .test_design directory becomes created

Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b8138bea
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b8138bea
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b8138bea

Branch: refs/heads/1963-eunit
Commit: b8138beac2dd1cbbe289ce34dd7417b5f59e6760
Parents: 033b1f1
Author: Alexander Shorin <[email protected]>
Authored: Mon Jun 23 00:15:20 2014 +0400
Committer: Alexander Shorin <[email protected]>
Committed: Mon Jun 23 03:31:26 2014 +0400

----------------------------------------------------------------------
 test/couchdb/couchdb_views_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/b8138bea/test/couchdb/couchdb_views_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb/couchdb_views_tests.erl 
b/test/couchdb/couchdb_views_tests.erl
index 6d81f32..c61f783 100644
--- a/test/couchdb/couchdb_views_tests.erl
+++ b/test/couchdb/couchdb_views_tests.erl
@@ -162,7 +162,7 @@ should_upgrade_legacy_view_files_test() ->
     {ok, _} = file:copy(DbFilePath, filename:join([DbDir, DbFileName])),
 
     % copy old view file into view dir
-    ok = filelib:ensure_dir(filename:join([ViewDir, ".test_design"])),
+    ok = filelib:ensure_dir(filename:join([ViewDir, ".test_design"]) ++ "/"),
     {ok, _} = file:copy(FixtureViewFilePath, OldViewFilePath),
 
     % ensure old header

Reply via email to