Sha256: ad27e79696e2a62764166feaa08bca452fc5d690904d5242cab100f0a4040acf

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
form-0.0.1.alpha1 spec/form/extensions/hash_spec.rb