2013-01-04 22:35:31 +01:00
|
|
|
require "spec_helper"
|
|
|
|
|
2013-01-20 22:07:17 +01:00
|
|
|
describe ProjectTeam do
|
2013-01-04 22:35:31 +01:00
|
|
|
let(:team) { create(:project).team }
|
|
|
|
|
2013-01-04 07:43:25 +01:00
|
|
|
describe "Respond to" do
|
2013-01-04 22:35:31 +01:00
|
|
|
subject { team }
|
|
|
|
|
2013-01-04 07:43:25 +01:00
|
|
|
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
|
|
|
|
|