diff --git a/spec/lib/hash_object_spec.rb b/spec/lib/hash_object_spec.rb new file mode 100644 index 000000000..ce1806520 --- /dev/null +++ b/spec/lib/hash_object_spec.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require 'rails_helper' + +describe HashObject do + it 'has methods corresponding to hash properties' do + expect(HashObject.new(key: 'value').key).to eq 'value' + end +end