Sha256: 19cdf9af2aaadf030a6dabef931318ad81ef01b3e2b04315f49490cb41b99eed

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'
require 'capistrano/env/formatter/ruby_formatter'

describe Capistrano::Env::Formatter::RubyFormatter do
  let(:envs) { { 'HELLO' => 'WORLD', 'HOGE' => '1,2,3' } }
  expect_string = <<EOF
ENV["HELLO"] = "WORLD"
ENV["HOGE"] = "1,2,3"
EOF
  it { expect(described_class.format(envs)).to eq expect_string }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-env-0.1.2 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.1.1 spec/capistrano/env/formatter/ruby_formatter_spec.rb