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

lotus / view / 239 / 5
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2015 08:26AM UTC
Files 23
Run time 1s
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

22 Oct 2015 08:18AM UTC coverage: 99.649%. Remained the same
2.1.3

push

travis-ci

jodosha
Allow `Lotus::View::Template` to accept one or two arguments

The first one is the template path, while the second is the optional
encoding.

For production code, the encoding is always specified. The value to look
at is `Lotus::View.configuration.default_encoding`.

I made it optional only for testing purposes.
When we generate a view test in `lotusrb`, it prepares the template like
this:

  # ...
  describe Web::Views::Home::Index do
    # ...
    let(:template)  { Lotus::View::Template.new('apps/web/templates/home/index.html.erb') }
  end

It's annoying to be forced to specify the encoding in this case. Most of
the applications out there just use UTF-8. So we are simplifying the
most common case.

/cc @lotus/core-team

568 of 570 relevant lines covered (99.65%)

34.57 hits per line

Source Files on job 239.5 (2.1.3)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 239
  • Travis Job 239.5
  • d588671c on github
  • Prev Job for 2.1.3 on master (#237.5)
  • Next Job for 2.1.3 on master (#247.5)
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

© 2025 Coveralls, Inc