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

nepalez / assertion / 49
100%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2015 04:44PM UTC
Jobs 5
Files 14
Run time 29s
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

pending completion
49

push

travis-ci

nepalez
[FEATURE] Add inline message definition

Assertion messages can be defined directly as a class methods

  class IsCat < Assertion::Base
    attribute :species, :name

    def check
      species == :cat
    end

    def truthy
      "#{name} is a cat"
    end

    def falsey
      "#{name} is not a cat"
    end
  end

5 of 5 new or added lines in 3 files covered. (100.0%)

193 of 193 relevant lines covered (100.0%)

68.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 49.1 (1.9.3) 28 Jul 2015 04:45PM UTC 0
100.0
Travis Job 49.1
2 49.2 (2.0) 28 Jul 2015 04:44PM UTC 0
100.0
Travis Job 49.2
3 49.3 (2.1) 28 Jul 2015 04:44PM UTC 0
100.0
Travis Job 49.3
4 49.4 (2.2) 28 Jul 2015 04:44PM UTC 0
100.0
Travis Job 49.4
5 49.5 (ruby-head) 28 Jul 2015 04:45PM UTC 0
100.0
Travis Job 49.5
Source Files on build 49
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #49
  • 203d3633 on github
  • Prev Build on master (#48)
  • Next Build on master (#50)
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