gitlabhq/spec/models/project_team_spec.rb
2013-01-24 22:31:25 +02:00

18 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