19 lines
457 B
Ruby
19 lines
457 B
Ruby
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
|
|
|