gitlabhq/spec/models/project_team_spec.rb

19 lines
457 B
Ruby
Raw Normal View History

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 }
describe "Respond to" do
2013-01-04 22:35:31 +01:00
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