Continue refactoring. Use repostory and team
This commit is contained in:
parent
39ba934c0a
commit
dccd8b6eaa
42 changed files with 219 additions and 179 deletions
12
spec/models/team_spec.rb
Normal file
12
spec/models/team_spec.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
describe Team do
|
||||
describe "Respond to" do
|
||||
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue