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

mezis / fuzzily / 139
100%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2015 02:40PM UTC
Jobs 19
Files 4
Run time 8min
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
139

Pull #49

travis-ci

savef
Do not raise on missing objects.

The use of ActiveRecord's #find meant missing IDs raised AR::RecordNotFound. This might come up if an object was created and then deleted without its trigram data also being deleted. To avoid the exception this uses #where instead of #find which will ignore missing results.

Due to the method with which the records are sorted to match the trigram query, in these cases nils were cropping up in the results, so this uses #compact to just return the records.

The first test case ensures no exceptions are raised. The second test case ensures the fuzzy find still works and that no nils are returned.
Pull Request #49: Fix AR::RecordNotFound being raised with missing objects.

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

180 of 180 relevant lines covered (100.0%)

640.55 hits per line

Jobs
ID Job ID Ran Files Coverage
7 139.7 (1.9.3, gemfiles/rails23.gemfile) 25 Aug 2015 02:40PM UTC 0
98.33
Travis Job 139.7
8 139.8 (1.9.3, gemfiles/rails30.gemfile) 25 Aug 2015 02:41PM UTC 0
100.0
Travis Job 139.8
9 139.9 (1.9.3, gemfiles/rails31.gemfile) 25 Aug 2015 02:40PM UTC 0
100.0
Travis Job 139.9
10 139.10 (1.9.3, gemfiles/rails32.gemfile) 25 Aug 2015 02:40PM UTC 0
100.0
Travis Job 139.10
11 139.11 (1.9.3, gemfiles/rails32_pg.gemfile) 25 Aug 2015 02:42PM UTC 0
100.0
Travis Job 139.11
12 139.12 (1.9.3, gemfiles/rails32_mysql.gemfile) 25 Aug 2015 02:43PM UTC 0
100.0
Travis Job 139.12
13 139.13 (1.9.3, gemfiles/rails40.gemfile) 25 Aug 2015 02:42PM UTC 0
97.22
Travis Job 139.13
14 139.14 (2.0.0, gemfiles/rails30.gemfile) 25 Aug 2015 02:43PM UTC 0
100.0
Travis Job 139.14
15 139.15 (2.0.0, gemfiles/rails31.gemfile) 25 Aug 2015 02:43PM UTC 0
100.0
Travis Job 139.15
16 139.16 (2.0.0, gemfiles/rails32.gemfile) 25 Aug 2015 02:45PM UTC 0
100.0
Travis Job 139.16
17 139.17 (2.0.0, gemfiles/rails32_pg.gemfile) 25 Aug 2015 02:45PM UTC 0
100.0
Travis Job 139.17
18 139.18 (2.0.0, gemfiles/rails32_mysql.gemfile) 25 Aug 2015 02:44PM UTC 0
100.0
Travis Job 139.18
19 139.19 (2.0.0, gemfiles/rails40.gemfile) 25 Aug 2015 02:45PM UTC 0
97.22
Travis Job 139.19
20 139.20 (2.1.0, gemfiles/rails30.gemfile) 25 Aug 2015 02:45PM UTC 0
100.0
Travis Job 139.20
21 139.21 (2.1.0, gemfiles/rails31.gemfile) 25 Aug 2015 02:47PM UTC 0
100.0
Travis Job 139.21
22 139.22 (2.1.0, gemfiles/rails32.gemfile) 25 Aug 2015 02:47PM UTC 0
100.0
Travis Job 139.22
23 139.23 (2.1.0, gemfiles/rails32_pg.gemfile) 25 Aug 2015 02:47PM UTC 0
100.0
Travis Job 139.23
24 139.24 (2.1.0, gemfiles/rails32_mysql.gemfile) 25 Aug 2015 02:47PM UTC 0
100.0
Travis Job 139.24
25 139.25 (2.1.0, gemfiles/rails40.gemfile) 25 Aug 2015 02:48PM UTC 0
97.22
Travis Job 139.25
Source Files on build 139
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #139
  • Pull Request #49
  • PR Base - master (#138)
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