{"id":17066297,"url":"https://github.com/kern/matchbox","last_synced_at":"2026-05-02T15:40:14.833Z","repository":{"id":56882952,"uuid":"1721164","full_name":"kern/matchbox","owner":"kern","description":"Use RSpec and Shoulda matchers in Test::Unit","archived":false,"fork":false,"pushed_at":"2011-09-19T22:34:21.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-01-13T07:53:51.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/CapnKernul/matchbox","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-09T05:20:19.000Z","updated_at":"2014-02-11T22:30:25.000Z","dependencies_parsed_at":"2022-08-20T13:10:40.595Z","dependency_job_id":null,"html_url":"https://github.com/kern/matchbox","commit_stats":null,"previous_names":["capnkernul/matchbox"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kern/matchbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kern%2Fmatchbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kern%2Fmatchbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kern%2Fmatchbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kern%2Fmatchbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kern","download_url":"https://codeload.github.com/kern/matchbox/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kern%2Fmatchbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32540118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T11:06:33.716Z","updated_at":"2026-05-02T15:40:14.813Z","avatar_url":"https://github.com/kern.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# matchbox - use RSpec and Shoulda matchers in Test::Unit [![StillMaintained Status](http://stillmaintained.com/CapnKernul/matchbox.png)](http://stillmaintained.com/CapnKernul/matchbox) [![Build Status](http://travis-ci.org/CapnKernul/matchbox.png)](http://travis-ci.org/CapnKernul/matchbox) #\n\nMatchbox allows you to use RSpec and Shoulda matchers as regular, old\n`Test::Unit` assertions.\n\n## Installation ##\n\nWithout bundler:\n\n    gem install matchbox\n\nWith bundler:\n\n    gem 'matchbox'\n\n## Usage ##\n\nJust include the RSpec matchers into the `TestCase` and they can be used as seen\nbelow. This example uses methods found in\n[shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers).\n\n    class PostTest \u003c Test::Unit::TestCase\n      def test_active_record_relations\n        post = Post.new\n        assert_accepts belong_to(:topic), post\n      end\n    end\n\n## Note on Patches/Pull Requests ##\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a future version unintentionally.\n* Commit, but do not mess with the `Rakefile`. If you want to have your own version, that is fine but bump the version in a commit by itself in another branch so I can ignore it when I pull.\n* Send me a pull request. Bonus points for git flow feature branches.\n\n## Resources ##\n\n* [GitHub Repository](https://github.com/CapnKernul/matchbox)\n* [Documentation](http://rubydoc.info/github/CapnKernul/matchbox)\n\n## License ##\n\nMatchbox is licensed under the MIT License. See `LICENSE` for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkern%2Fmatchbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkern%2Fmatchbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkern%2Fmatchbox/lists"}