Spec HashObject (#3544)

lolsob-rspec
Akihiko Odaki (@fn_aki@pawoo.net) 2017-06-04 21:59:52 +09:00 committed by Eugen Rochko
parent 3dd0d62583
commit 5c1868df66
1 changed files with 9 additions and 0 deletions

View File

@ -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