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

gregbell / active_admin / 1871
51%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2013 07:57PM UTC
Jobs 4
Files 178
Run time –
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
1871

push

travis-ci

zorab47
Prevent addition of duplicate resources in Rails 4

Rails 4's ActiveModel::Name class no longer inherits from String and
breaks the expected comparison behavior when searching for existing
resources.

Redefined `ActiveAdmin::Resource::Name`'s `#eql?` and `#hash` methods to
ensure Name objects can be used as Hash keys.

3 of 3 new or added lines in 1 file covered. (100.0%)

1980 of 3388 relevant lines covered (58.44%)

5.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/active_admin/resource/naming.rb
Jobs
ID Job ID Ran Files Coverage
1 1871.1 (1.9.3, RAILS=3.2.14) 25 Sep 2013 08:00PM UTC 0
57.8
Travis Job 1871.1
2 1871.2 (1.9.3, RAILS=4.0.0) 25 Sep 2013 08:02PM UTC 0
57.48
Travis Job 1871.2
3 1871.3 (2.0.0, RAILS=3.2.14) 25 Sep 2013 08:03PM UTC 0
57.79
Travis Job 1871.3
4 1871.4 (2.0.0, RAILS=4.0.0) 25 Sep 2013 07:57PM UTC 0
57.46
Travis Job 1871.4
Source Files on build 1871
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1871
  • 40c18cf2 on github
  • Prev Build on master (#1866)
  • Next Build on master (#1876)
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