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

comfy / comfortable-mexican-sofa / 1258
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: deep-tag-nesting-fix
DEFAULT BRANCH: master
Ran 25 Jan 2019 04:23PM UTC
Jobs 4
Files 107
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

pending completion
1258

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

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

4745 of 4772 relevant lines covered (99.43%)

34.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1258.1 (2.3.7, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:23PM UTC 0
99.42
Travis Job 1258.1
2 1258.2 (2.4.4, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:24PM UTC 0
99.42
Travis Job 1258.2
3 1258.3 (2.5.1, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:24PM UTC 0
99.42
Travis Job 1258.3
4 1258.4 (ruby-head, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:23PM UTC 0
99.42
Travis Job 1258.4
Source Files on build 1258
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1258
  • Pull Request #870
  • PR Base - master (#1255)
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