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

OpenBuildings / jam / 38
81%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2013 10:00AM UTC
Jobs 1
Files 82
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
38

push

travis-ci

hkdobrev
Introduced Jam_Exception_Slugmismatch

Changes:
 - Fixed a bug in sluggable behaviour:

   When a slug is set explicitly to a model with auto_save option
   and then the model is saved, the slug is not updated in the database
   (which is correct). But the slug is updated in the model and another
   save will incorrectly change it in the database as well.

 - Jam_Exception_Sluggable and Jam_Exception_Slugmismatch:

   * Jam_Exception_Sluggable is only thrown when it was not possible
     to generate a valid slug. It is also kept for future use of generic
     exceptions related to the sluggable behaviour.
   * Jam_Exception_Slugmismatch is thrown when a find_by_slug_insist
     is called, the model is found by primary key and the provided slug
     does not match the actual slug of the model found. Its purpose is
     to be caught separately to inform the external code of the slug
     mismatch and to possibly redirect to a page with the same primary key
     and correct slug.

 - Added additional tests for the sluggable behavior. The code coverage has
   probably gone down, because of the additional @covers annotations.

3093 of 3794 relevant lines covered (81.52%)

27.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 15 Aug 2013 09:59AM UTC 0
81.52
Travis Job 38.1
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • b43b705b on github
  • Prev Build on master (#37)
  • Next Build on master (#39)
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