{"id":77809,"library":"rspec-its","title":"RSpec Its","description":"RSpec extension gem for attribute matching, providing the `its` method for concise attribute assertions.","status":"active","version":"2.0.0","language":"ruby","source_language":null,"source_url":"https://github.com/rspec/rspec-its","tags":["testing","rspec","matchers"],"install":[{"cmd":"gem install rspec-its","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rspec-its', '~> 2.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"RSpec::Its","correct":"require 'rspec/its'"}],"quickstart":{"code":"require 'rspec/its'\n\ndescribe Array do\n  subject { [1, 2, 3] }\n  its(:size) { is_expected.to eq 3 }\nend","lang":"ruby","description":"Use `its` to test an attribute of the subject"},"warnings":[],"env_vars":null,"search_vec":"'assert':16 'attribut':7,15 'concis':14 'extens':4 'gem':5 'match':8 'matcher':19 'method':12 'provid':9 'rspec':1,3,18 'test':17","created_at":"2026-06-18T03:58:48.128453+00:00","updated_at":"2026-06-18T03:58:48.128453+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rspec/rspec-its","github":"https://github.com/rspec/rspec-its","docs":"http://www.rubydoc.info/gems/rspec-its/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}