Sha256: 84661c824db5d4a157827bdcc32d2c80c8e427b522066e889088e2577094a714

Contents?: true

Size: 386 Bytes

Versions: 32

Compression:

Stored size: 386 Bytes

Contents

require 'spec_helper'
require 'heroku-api'
require 'dpl/provider/heroku'

describe DPL::Provider::Heroku do
  subject(:provider) do
    described_class.new(DummyContext.new, :app => 'example', :key_name => 'key', :api_key => "foo", :strategy => "gitdeploykey")
  end

  describe :ssh do
    it "doesn't require an ssh key" do
      provider.needs_key?.should == false
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
dpl-1.5.8 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.9.travis.368.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.367.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.365.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.364.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.359.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.356.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.336.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.330.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.328.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.326.1 spec/provider/heroku_git_deploy_key_spec.rb
dpl-1.5.8.travis.325.1 spec/provider/heroku_git_deploy_key_spec.rb