project_team_spec.rb 307 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
2
require "spec_helper"

3
describe ProjectTeam do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
4
5
  let(:team) { create(:project).team }

6
  describe "Respond to" do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
7
8
    subject { team }

9
10
11
12
13
14
15
    it { should respond_to(:developers) }
    it { should respond_to(:masters) }
    it { should respond_to(:reporters) }
    it { should respond_to(:guests) }
  end
end