Created
November 24, 2015 04:13
-
-
Save JunichiIto/6be9a924e1b21872305e to your computer and use it in GitHub Desktop.
Sample code for https://twitter.com/tarot/status/668986347739156480
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe 'test' do | |
example do | |
x = [{id: 1, name: 'hoge'}, {id: 2, name: 'fuga'}] | |
expect(x).to a_collection_including a_hash_including(id: 2), a_hash_including(id: 1) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment