Sha256: c56550e2b0484be6ca5587c2b5f42f044c86e8d0c8142c1f4735b202d1202df8

Contents?: true

Size: 621 Bytes

Versions: 7

Compression:

Stored size: 621 Bytes

Contents

require 'spec_helper'

describe Jack::Config do
  before(:all) do
    Jack::UI.mute = true
  end

  let(:download) { Jack::Config::Download.new(test_options) }

  describe "download" do
    it "download" do
      # mock methods way down deep to test code paths, test reads weird though
      expect(download).to receive(:eb_config_save)
      expect(download).to receive(:do_copy_to_local_cfg)
      download.download
    end

    # it "should add jack/cfg/*.yml to gitignore" do
    #   download.download
    #   ignore = IO.read("#{@root}/.gitignore")
    #   expect(ignore).to include("jack/cfg")
    # end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jack-eb-1.1.2 spec/lib/config/download_spec.rb
jack-eb-1.1.1 spec/lib/config/download_spec.rb
jack-eb-1.1.0 spec/lib/config/download_spec.rb
jack-eb-1.0.1 spec/lib/config/download_spec.rb
jack-eb-1.0.0 spec/lib/config/download_spec.rb
jack-eb-0.3.0 spec/lib/config/download_spec.rb
jack-eb-0.2.0 spec/lib/config/download_spec.rb