Lines Matching refs:repository
5 let(:repository) { create :repository_with_empty_remote, remote_type: 'mirror' }
8 expect(repository.mirror?).to be_truthy
13 repository.convert_to_local!
16 it 'should become a non-mirrored repository' do
17 expect(repository.mirror?).to be_falsy
20 it 'should become a forked repository' do
21 expect(repository.fork?).to be_truthy
27 let!(:repository) { create :repository_with_empty_remote, remote_type: 'fork' }
29 it 'should be a non-mirrored repository' do
30 expect(repository.mirror?).to be_falsy
33 it 'should be a forked repository' do
34 expect(repository.fork?).to be_truthy
40 let(:repository) { create :repository, remote_type: 'fork' }
42 expect(repository.remote_type?).to be_falsy
47 let(:repository) { create :repository_with_empty_remote, remote_type: 'fork' }
49 expect(repository.remote_type?).to be_truthy