require "spec_helper" describe Hash, "extensions" do describe "#except" do it "skips specified keys" do {a: 1, b: 2, c: 3}.except(:a, :c).should eql(b: 2) end end end