This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Spec HashObject (
#3544
)
closed-social-v3
Akihiko Odaki (@fn_aki@pawoo.net)
7 years ago
committed by
Eugen Rochko
parent
e674608d10
commit
6505a42be0
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
spec/lib/hash_object_spec.rb
+ 9
- 0
spec/lib/hash_object_spec.rb
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
Write
Preview
Loading…
Cancel
Save