mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Spec HashObject (#3544)
This commit is contained in:
parent
e674608d10
commit
6505a42be0
9
spec/lib/hash_object_spec.rb
Normal file
9
spec/lib/hash_object_spec.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user