Sha256: b9b303cdf46ac8e7ff80bc7f82b465d6e860146e2e2ce5a9fd0f50070079df3f
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
require_relative '../../helper' module GitDuplicator describe ServiceRepository do let(:name) { 'something' } let(:owner) { 'someone' } let(:repo) { described_class.new(name, owner) } describe '#delete' do it 'raises an exception in case of not defined' do expect { repo.delete }.to raise_error(NotImplementedError) end end describe '#create' do it 'raises an exception in case of not defined' do expect { repo.create }.to raise_error(NotImplementedError) end end describe '#url' do it 'raises an exception in case of not defined' do expect { repo.url }.to raise_error(NotImplementedError) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_duplicator-1.0.0 | spec/git_duplicator/repository/service_repository_spec.rb |