gitlabhq/spec/models/team_spec.rb

19 lines
450 B
Ruby
Raw Normal View History

2013-01-04 22:35:31 +01:00
require "spec_helper"
describe Team 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