blob: b074a8f7c70de578de5838cf83a2ff979eb96914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require_relative '../../spec_helper'
describe "ENV.keys" do
it "returns an array of the keys" do
ENV.keys.should == ENV.to_hash.keys
end
it "returns the keys in the locale encoding" do
ENV.keys.each do |key|
key.encoding.should == Encoding.find('locale')
end
end
end
|