diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 17:10:38 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:31:57 +0300 |
commit | 02494f7ce86fbf1276b384f45f58558c427eff63 (patch) | |
tree | 80a454904bcba1384a4b3761815e5433a7aaf467 /spec/models/repository_spec.rb | |
parent | 8a4d68c53e9c58ad7f8dce1494f7976292b2f929 (diff) |
Fix specs
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r-- | spec/models/repository_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index c3d4365639d..a3fe412b229 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -1382,13 +1382,13 @@ describe Repository, models: true do describe '#branch_count' do it 'returns the number of branches' do - expect(repository.branch_count).to be_an_instance_of(Integer) + expect(repository.branch_count).to be_an(Integer) end end describe '#tag_count' do it 'returns the number of tags' do - expect(repository.tag_count).to be_an_instance_of(Integer) + expect(repository.tag_count).to be_an(Integer) end end @@ -1738,7 +1738,7 @@ describe Repository, models: true do context 'with an existing repository' do it 'returns the commit count' do - expect(repository.commit_count).to be_an_instance_of(Integer) + expect(repository.commit_count).to be_an(Integer) end end end |