Skip to content
This repository
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 set_assertions.gemspec
README.md

SetAssertions

At the moment, the only test this gem provides is: assert_equal_set

This checks that, despite order, two arrays contain the same scalars and object references.

Why this assertion?

Because invariable I want to check that a set of values was added to a collection, but not need to know the order of them.

If you've ever had a fault like:

Expected [:a,:b] but got [:b,:a]

... then you know what I mean.

Further Assertions

Want more? fork, add, make pull request OR add a ticket for it and I'll add it :D

Continuous Integration

See how it's been building at TravisCI

Something went wrong with that request. Please try again.