Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-22 00:11:08 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-22 00:11:08 +0400
commitc4299bb45a97314fd51962b91346c65ba564d388 (patch)
treedc65066a2ea824a1fe2a4c8d990f3470bcb0b555 /spec/models/namespace_spec.rb
parent0103363191d63d9a81bfeba61abf443532f47183 (diff)
Move directory logic out of model. Use Gitlab:Shell class to interact with file system
Diffstat (limited to 'spec/models/namespace_spec.rb')
-rw-r--r--spec/models/namespace_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb
index 412e42aa675..b40a07951eb 100644
--- a/spec/models/namespace_spec.rb
+++ b/spec/models/namespace_spec.rb
@@ -60,7 +60,7 @@ describe Namespace do
end
it "should raise error when dirtory exists" do
- expect { @namespace.move_dir }.to raise_error("Already exists")
+ expect { @namespace.move_dir }.to raise_error("namespace directory cannot be moved")
end
it "should move dir if path changed" do