summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-21 21:50:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-21 21:50:34 +0300
commit8c918e583a5a0ec4c0c904522730215b2d147ae6 (patch)
tree4f0bd4ef97b1e5279a786311a9f55cc5b6ec4553
parentd0efe2c07cdbd13698bfb70f9be7157ec4f7245b (diff)
downloadgitlab-ce-8c918e583a5a0ec4c0c904522730215b2d147ae6.tar.gz
Remove tests for missing method
-rw-r--r--spec/models/user_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 4c37a48c4d1..f8b788a5f63 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -128,13 +128,6 @@ describe User do
it { @user.personal_projects.should include(@project) }
it { @user.personal_projects.should_not include(@project_2) }
it { @user.personal_projects.should_not include(@project_3) }
-
- # master_projects doesn't check creator/namespace.
- # In real case the users_projects relation will certainly be assigned
- # when the project is created.
- it { @user.master_projects.should_not include(@project) }
- it { @user.master_projects.should include(@project_2) }
- it { @user.master_projects.should_not include(@project_3) }
end
describe 'groups' do