Sha256: 2860462d960e482cbe89c6cdc0202b9010a597897c29c1609361d88505f9f49e

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

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_armadura("--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
armadura-0.1.2 spec/features/github_spec.rb
armadura-0.1.1 spec/features/github_spec.rb
armadura-0.1.0 spec/features/github_spec.rb