{"id":15284335,"url":"https://github.com/mdeering/phillumeny","last_synced_at":"2026-04-11T08:06:42.236Z","repository":{"id":56887973,"uuid":"167747416","full_name":"mdeering/phillumeny","owner":"mdeering","description":"Collection of RSpec matchers for verbose testers.","archived":false,"fork":false,"pushed_at":"2019-02-19T03:53:32.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-08T01:55:40.541Z","etag":null,"topics":["activemodel","rails","rspec","ruby"],"latest_commit_sha":null,"homepage":null,"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/mdeering.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-01-26T22:47:07.000Z","updated_at":"2021-08-10T22:25:11.000Z","dependencies_parsed_at":"2022-08-21T00:50:42.572Z","dependency_job_id":null,"html_url":"https://github.com/mdeering/phillumeny","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mdeering/phillumeny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdeering%2Fphillumeny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdeering%2Fphillumeny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdeering%2Fphillumeny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdeering%2Fphillumeny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdeering","download_url":"https://codeload.github.com/mdeering/phillumeny/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdeering%2Fphillumeny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000702,"owners_count":26082805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["activemodel","rails","rspec","ruby"],"created_at":"2024-09-30T14:53:36.365Z","updated_at":"2025-10-08T19:12:57.028Z","avatar_url":"https://github.com/mdeering.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![](phillumeny-logo.png)\n\nCollection of RSpec matchers for verbose testers.\n\n## Configuration\n\n```ruby\n# spec/support/phillumeny.rb\nrequire 'phillumeny'\n\n# require 'phillumeny/active_record'\n\nRSpec.configure do |config|\n  config.include Phillumeny::ActiveModel,  type: :model\n  config.include Phillumeny::ActiveRecord, type: :model\n  config.include Phillumeny::FactoryBot,   type: :model\nend\n```\n\n### ActiveModel\n\n```ruby\nRSpec.describe Webpage, type: :model do\n\n  it { should     validate_presence_of_any(:headline, :title).valid_values(title: 'this') }\n  it { should_not validate_presence_of_any(:headline, :title) }\n  it { should_not validate_presence_of_any(:headline, :title).valid_value(:title, 'that') }\n\nend\n```\n\n### ActiveRecord\n\n```ruby\nRSpec.describe Post, type: :model do\n\n  [[:include_in_sitemap, :published_at], :published_at].each do |columns|\n    it { should cover_query_with_indexes(columns) }\n  end\n\n  {\n    include_in_sitemap:       true,\n    sitemap_change_frequency: 'monthly',\n    sitemap_priorty:          5,\n    title:                    nil\n  }.each do |attribute, value|\n    it { should have_default_value_of(value).for(attribute).in_the_database }\n  end\n\nend\n```\n\n## Factory Bot\n\n```ruby\n# spec/models/user_spec.rb\nrequire 'spec_helper'\n\nRSpec.describe User, type: :model do\n\n  context 'Factories' do\n\n    it { should have_a_valid_factory }\n\n    it { should_not have_a_valid_factory.with_trait(:something_wrong) }\n\n  end\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdeering%2Fphillumeny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdeering%2Fphillumeny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdeering%2Fphillumeny/lists"}