blob: 3699b2c2250c49d9d2bf8e026f7ac0d71fe67d8a (
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 all the keys" do
ENV.keys.sort.should == ENV.to_hash.keys.sort
end
it "returns the keys in the locale encoding" do
ENV.keys.each do |key|
key.encoding.should == Encoding.find('locale')
end
end
end
|