Spec HashObject (#3544)

master
Akihiko Odaki (@fn_aki@pawoo.net) 8 years ago committed by Eugen Rochko
parent e674608d10
commit 6505a42be0
  1. 9
      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
Loading…
Cancel
Save