Sha256: 40fb586965e26bd8ed7290dd188fc373fafb5b05e5b722a027453e46331d69ac

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

require_relative '../../helper'

describe GitDuplicator::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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_duplicator-0.0.1 spec/git_duplicator/repository/service_repository_spec.rb