diff options
author | Andrey Kumanyaev <me@zzet.org> | 2013-01-21 01:07:17 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-24 22:31:25 +0200 |
commit | b8dadd6427e50aa6d4f8f5dee113518340495550 (patch) | |
tree | b262e4404bc88f283d967ad62fbd5aa192762e8e /spec/models/project_team_spec.rb | |
parent | 13fb3fdcf20f505b2591cfe3fc1a1e74242a932c (diff) | |
download | gitlab-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.rb | 18 |
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 + |