New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rspec-uuid

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rspec-uuid

0.6.0
Rubygems
Version published
Maintainers
1
Created
Source

rspec-uuid

Gem codecov

An RSpec matcher for UUIDs.

require "rspec/uuid"


it { is_expected.to be_a_uuid }

# check the version
it { is_expected.to be_a_uuid(version: 4) }
it { is_expected.to be_a_uuid.of_version(4) }

# compose with other matchers
it { expect(data).to include(uuid: a_uuid) }

Contributing

Yes please :)

  • Fork it
  • Create your feature branch (git checkout -b my-feature)
  • Ensure the tests pass (bundle exec rspec)
  • Commit your changes (git commit -am 'awesome new feature')
  • Push your branch (git push origin my-feature)
  • Create a Pull Request

FAQs

Package last updated on 08 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts