summaryrefslogtreecommitdiff
path: root/spec/models/project_team_spec.rb
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-21 01:07:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 22:31:25 +0200
commitb8dadd6427e50aa6d4f8f5dee113518340495550 (patch)
treeb262e4404bc88f283d967ad62fbd5aa192762e8e /spec/models/project_team_spec.rb
parent13fb3fdcf20f505b2591cfe3fc1a1e74242a932c (diff)
downloadgitlab-ce-b8dadd6427e50aa6d4f8f5dee113518340495550.tar.gz
repair rspec (remove and rename files)
Diffstat (limited to 'spec/models/project_team_spec.rb')
-rw-r--r--spec/models/project_team_spec.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/models/project_team_spec.rb b/spec/models/project_team_spec.rb
new file mode 100644
index 00000000000..7803811f395
--- /dev/null
+++ b/spec/models/project_team_spec.rb
@@ -0,0 +1,18 @@
+require "spec_helper"
+
+describe ProjectTeam do
+ let(:team) { create(:project).team }
+
+ describe "Respond to" do
+ subject { team }
+
+ it { should respond_to(:developers) }
+ it { should respond_to(:masters) }
+ it { should respond_to(:reporters) }
+ it { should respond_to(:guests) }
+ it { should respond_to(:repository_writers) }
+ it { should respond_to(:repository_masters) }
+ it { should respond_to(:repository_readers) }
+ end
+end
+