Sha256: 224cd6df5dbf792d07a16e082f94a2cf42cd10aa9ab9e7f49444746c58943b6d
Contents?: true
Size: 369 Bytes
Versions: 253
Compression:
Stored size: 369 Bytes
Contents
require 'spec_helper' describe Specinfra.backend.run_command('echo $LANG').stdout.strip do it { should eq 'C' } end describe do before do ENV['LANG'] = 'C' set :env, :LANG => 'ja_JP.UTF-8' end let(:lang) { Specinfra.backend.run_command('echo $LANG').stdout.strip } it { expect(lang).to eq 'ja_JP.UTF-8' } it { expect(ENV['LANG']).to eq 'C' } end
Version data entries
253 entries across 253 versions & 3 rubygems