Continue refactoring. Use repostory and team
This commit is contained in:
parent
39ba934c0a
commit
dccd8b6eaa
42 changed files with 219 additions and 179 deletions
14
spec/models/repository_spec.rb
Normal file
14
spec/models/repository_spec.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
describe Repository do
|
||||
describe "Respond to" do
|
||||
it { should respond_to(:repo) }
|
||||
it { should respond_to(:tree) }
|
||||
it { should respond_to(:root_ref) }
|
||||
it { should respond_to(:tags) }
|
||||
it { should respond_to(:commit) }
|
||||
it { should respond_to(:commits) }
|
||||
it { should respond_to(:commits_between) }
|
||||
it { should respond_to(:commits_with_refs) }
|
||||
it { should respond_to(:commits_since) }
|
||||
it { should respond_to(:commits_between) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue