Sha256: a22f908e1ef05167ab1d9d2df426aaacd5c2f8332ca98cc3e498067ea37c9738

Contents?: true

Size: 326 Bytes

Versions: 8

Compression:

Stored size: 326 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

8 entries across 8 versions & 1 rubygems

Version Path
capistrano-env-0.1.0 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.7 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.6 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.5 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.4 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.3 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.2 spec/capistrano/env/formatter/ruby_formatter_spec.rb
capistrano-env-0.0.1 spec/capistrano/env/formatter/ruby_formatter_spec.rb