Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support #to_h and #to_hash on the Hyperclient::Resource #104

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Corrected collection_test
jufemaiz committed Aug 18, 2016

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 680e5c6d0a751be728225c8b3f499e146e28c26d
2 changes: 1 addition & 1 deletion test/hyperclient/collection_test.rb
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ module Hyperclient

describe '#to_h' do
it 'returns the wrapped collection as a hash' do
collection.to_hash.must_be_kind_of Hash
collection.to_h.must_be_kind_of Hash
end
end