• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scarver2 / printavo-ruby / 23721049991
100%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2026 10:54PM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Mar 2026 10:53PM UTC coverage: 100.0% (+4.3%) from 95.699%
23721049991

push

github

web-flow
test: achieve 100% line coverage (#3)

* test: achieve 100% line coverage (186/186)

Add targeted specs for the 8 previously uncovered lines:

- spec/printavo/config_spec.rb (new)
    Config#initialize defaults (base_url, timeout) + attr accessors

- spec/printavo/customer_spec.rb (new)
    full_name with both names, nil first_name, nil last_name

- spec/printavo/models/base_spec.rb (new)
    to_h returns a duplicate; == equality / inequality / cross-class;
    inspect includes class name and attributes

- spec/printavo/graphql_client_spec.rb
    404 → NotFoundError branch

- spec/printavo/webhooks_spec.rb
    rescue branch via non-string signature (Integer → TypeError in
    OpenSSL.secure_compare)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test: fix inspect assertion for Ruby 3.3 compatibility

Hash#inspect spacing around => varies across Ruby versions.
Replace exact-string include() with a regex that matches
regardless of whitespace: match(/"id"\s*=>\s*"1"/)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* add Ruby 3.3 support locally

* chore: add bin/spec for multi-Ruby local test runner

Runs RSpec against every Ruby version listed in .mise.toml via
`mise exec ruby@VERSION`. Handles scalar and array TOML values,
skips versions that aren't installed with an actionable message,
forwards all arguments to rspec, and exits non-zero if any
version fails. Compatible with macOS bash 3.2 (no mapfile).

Also pins .mise.toml to ["4.0.2", "3.3.11"] to match CI matrix.

`bin/spec` is your friend! 🤠

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

186 of 186 relevant lines covered (100.0%)

3.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23721049991.1 29 Mar 2026 10:54PM UTC 15
100.0
GitHub Action Run
Source Files on build 23721049991
  • Tree
  • List 15
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23721049991
  • c37d74c7 on github
  • Prev Build on master (#23720026373)
  • Next Build on master (#23722851897)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc