diff options
-rw-r--r-- | spec/lib/hash_object_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |