Sha256: f721508ff7bb47a6cc07ae5c3034b27ffb2c4f71c783bc7db43b9360a5eb3d2d
Contents?: true
Size: 257 Bytes
Versions: 4
Compression:
Stored size: 257 Bytes
Contents
RSpec.shared_examples "a hashable element" do describe "#to_hash" do it 'should include required, value and error' do options.merge!(value: '', required: true) expect(subject.to_hash).to include(:required, :value, :error) end end end
Version data entries
4 entries across 4 versions & 1 rubygems