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-11-05 19:15:43 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-05 19:15:43 +0400
commitb813a4888a8755a0944fbe96c6fd35485137bf3c (patch)
treeffa869e6fa72c07722486e79d23162931fa24e54 /spec/models/user_spec.rb
parent6424ec936e4faa1d236579714efc825939766ce9 (diff)
Remove User#namespaces method from code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index f6c9f82c4ee..66493a8d22d 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -135,7 +135,6 @@ describe User do
end
it { @user.several_namespaces?.should be_true }
- it { @user.namespaces.should include(@user.namespace) }
it { @user.authorized_groups.should == [@group] }
it { @user.owned_groups.should == [@group] }
end
@@ -162,7 +161,6 @@ describe User do
end
it { @user.several_namespaces?.should be_false }
- it { @user.namespaces.should == [@user.namespace] }
end
describe 'blocking user' do