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

comfy / comfortable-mexican-sofa / 1257 / 4
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: deep-tag-nesting-fix
DEFAULT BRANCH: master
Ran 25 Jan 2019 03:48PM UTC
Files 107
Run time 12s
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

25 Jan 2019 03:42PM UTC coverage: 99.416%. Remained the same
ruby-head, test/gemfiles/5.2.gemfile

Pull #870

travis-ci

web-flow
Write label attribute before save using filename

Problem was that when uploading a new file the actual
label would be empty. Model will return a label when
requested as it will read the file name if label is
empty, but when doing in rails helpers something like

Comfy::Cms::File.where(label: "name")

the file will not be found.

This fix will user before_save callback to write
the label attribute on the model using the file name
which will be saved then in DB


Signed-off-by: oscar sanhueza <oscar@hashdot.fi>
Pull Request #870: Write label attribute before save using filename

4767 of 4795 relevant lines covered (99.42%)

8.85 hits per line

Source Files on job 1257.4 (ruby-head, test/gemfiles/5.2.gemfile)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1162
  • Travis Job 1257.4
  • c86215aa on github
  • Prev Job for ruby-head, test/gemfiles/5.2.gemfile on file_label_save (#1255.4)
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