Sha256: 2130280f28729d230db396ed5349d9c5b73eca4c0eefdcee58690161614d5d5c

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

require 'spec_helper'

require 'state_mate/adapters/git_config'

describe "StateMate::Adapters::GitConfig.read" do
  include_context "git_config"

  it "writes a value" do
    value = "blah"
    git_config.write key, value
    expect( `git config --global --get #{ key }`.chomp ).to eq "#{ value }"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
state_mate-0.0.3 spec/state_mate/adapters/git_config/write_spec.rb
state_mate-0.0.2 spec/state_mate/adapters/git_config/write_spec.rb