Sha256: c11dfb663516f332992122bdc47bc4e09080ab8b4bf8875876fe10f68362c955

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'GitHub' do
  before do
    drop_dummy_database
    remove_project_directory
  end

  it 'suspends a project with --github option' do
    repo_name = 'test'
    run_underlay("--github=#{repo_name}")
    setup_app_dependencies

    expect(FakeGithub).to have_created_repo(repo_name)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
underlay-2.0 spec/features/github_spec.rb
underlay-1.52.1 spec/features/github_spec.rb
underlay-1.50.1 spec/features/github_spec.rb