Sha256: 9c2404f7176d9111161a540837105b3769fb616bc60baa186549761f0376f367

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'
require 'capistrano/env/formatter/dotenv_formatter'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-env-0.2.0 spec/capistrano/env/formatter/dotenv_formatter_spec.rb