diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-22 00:11:08 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-22 00:11:08 +0400 |
commit | c4299bb45a97314fd51962b91346c65ba564d388 (patch) | |
tree | dc65066a2ea824a1fe2a4c8d990f3470bcb0b555 /spec/models/namespace_spec.rb | |
parent | 0103363191d63d9a81bfeba61abf443532f47183 (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.rb | 2 |
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 |