OSDN Git Service

Remove tests for missing method
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 21 Jun 2013 18:50:34 +0000 (21:50 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 21 Jun 2013 18:50:34 +0000 (21:50 +0300)
spec/models/user_spec.rb

index 4c37a48..f8b788a 100644 (file)
@@ -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