Sha256: 88c571a394f65f87d6639ae445083d01ed0106b22a350816cabb253f782583f5

Contents?: true

Size: 599 Bytes

Versions: 14

Compression:

Stored size: 599 Bytes

Contents

require "spec_helper"

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

  it "create a the github repository" do
    create_dummy_project("github" => true)
    app_name = PotassiumTestHelpers::APP_NAME.dasherize

    expect(FakeGithub).to have_created_repo("platanus/#{app_name}")
  end

  it "create a the github private repository" do
    create_dummy_project("github" => true, "github-private" => true)
    app_name = PotassiumTestHelpers::APP_NAME.dasherize

    expect(FakeGithub).to have_created_private_repo("platanus/#{app_name}")
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
potassium-6.0.0 spec/features/github_spec.rb
potassium-5.2.3 spec/features/github_spec.rb
potassium-5.2.2 spec/features/github_spec.rb
potassium-5.2.1 spec/features/github_spec.rb
potassium-5.2.0 spec/features/github_spec.rb
potassium-5.1.4 spec/features/github_spec.rb
potassium-5.1.3 spec/features/github_spec.rb
potassium-5.1.2 spec/features/github_spec.rb
potassium-5.1.1 spec/features/github_spec.rb
potassium-3.0.0 spec/features/github_spec.rb
potassium-2.3.0 spec/features/github_spec.rb
potassium-2.2.0 spec/features/github_spec.rb
potassium-2.1.0 spec/features/github_spec.rb
potassium-2.0.0 spec/features/github_spec.rb