Sha256: 5ac4b120467c66550f2fe069186b415a3a18926c3370695eeace0af4296e1f97

Contents?: true

Size: 594 Bytes

Versions: 8

Compression:

Stored size: 594 Bytes

Contents

require 'spec_helper'

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

  let(:get) { Jack::Config::Get.new(test_options) }

  describe "jack config" do
    it "get" do
      # mock methods way down deep to test code paths, test reads weird though
      expect(get).to receive(:eb_config_save)
      expect(get).to receive(:do_copy_to_local_cfg)
      get.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

8 entries across 8 versions & 1 rubygems

Version Path
jack-eb-1.4.4 spec/lib/config/get_spec.rb
jack-eb-1.4.3 spec/lib/config/get_spec.rb
jack-eb-1.4.2 spec/lib/config/get_spec.rb
jack-eb-1.4.1 spec/lib/config/get_spec.rb
jack-eb-1.4.0 spec/lib/config/get_spec.rb
jack-eb-1.3.0 spec/lib/config/get_spec.rb
jack-eb-1.2.1 spec/lib/config/get_spec.rb
jack-eb-1.2.0 spec/lib/config/get_spec.rb