hash_object_spec.rb 202 B

123456789
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe HashObject do
  4. it 'has methods corresponding to hash properties' do
  5. expect(HashObject.new(key: 'value').key).to eq 'value'
  6. end
  7. end