Sha256: 7525b6f90a92fcf1f14d6bcc79e181579ae6ee493bc4def2d57ceaf98bc5a10a
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true RSpec.describe Rordash do it "has a version number" do expect(Rordash::VERSION).not_to be_nil end describe '.chain' do describe "#to_h" do let(:value) { JSON.dump(a: 1) } it "chains underlying hash util method" do expect(described_class.chain(JSON.dump(a: 1)).to_h.value).to eql(a: 1) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rordash-0.1.3 | spec/rordash_spec.rb |
rordash-0.1.2 | spec/rordash_spec.rb |