diff options
author | Ho-Sheng Hsiao <hosheng.hsiao@gmail.com> | 2012-03-23 19:05:05 -0400 |
---|---|---|
committer | Ho-Sheng Hsiao <hosheng.hsiao@gmail.com> | 2012-03-23 19:05:05 -0400 |
commit | 566d6b8803a2936c01d85ca5c872bca8d26a408e (patch) | |
tree | 4cc340b1b558a809a2f1f8f95dc17b43e48c9829 /spec | |
parent | 253bd4435988e6b7618357daf71669f7c56f6ee0 (diff) | |
download | mixlib-shellout-566d6b8803a2936c01d85ca5c872bca8d26a408e.tar.gz |
[RSPEC/DOC] Clarified comments about windows evironmental locale
Diffstat (limited to 'spec')
-rw-r--r-- | spec/mixlib/shellout/shellout_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/mixlib/shellout/shellout_spec.rb b/spec/mixlib/shellout/shellout_spec.rb index 513b04d..b3f4382 100644 --- a/spec/mixlib/shellout/shellout_spec.rb +++ b/spec/mixlib/shellout/shellout_spec.rb @@ -318,9 +318,7 @@ describe Mixlib::ShellOut do end context 'when running under Windows', :windows_only => true do - # FIXME: I don't understand the original: - # https://github.com/opscode/mixlib-shellout/blob/7a1fd26ab7c74023e044bfa306dff3d6b1de3d99/spec/mixlib/shellout/shellout_spec.rb#L316 - # Is it saying that under Windows, ENV['LC_ALL'] can have something, otherwise if blank, it will be '%LC_ALL%'? + # On windows, if an environmental variable is not set, it returns the key let(:parent_locale) { (ENV['LC_ALL'] || '%LC_ALL%').to_s.strip } it "should use the parent process's locale" do |