Sha256: e18dbec22faf4a82261451e9ed7520bcb057bd8f0eb14729f852e0b1878787ea
Contents?: true
Size: 397 Bytes
Versions: 6
Compression:
Stored size: 397 Bytes
Contents
require 'helper' require 'cassanity/result_transformers/result_to_array' describe Cassanity::ResultTransformers::ResultToArray do let(:result_array) { [{one: 1}, {two: 2}, {three: 3}] } describe "#call" do it "returns a copy of the array" do subject.call(result_array).should eq(result_array) subject.call(result_array).should_not equal(result_array) end end end
Version data entries
6 entries across 6 versions & 1 rubygems