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

NYULibraries / salon / #219

01 Nov 2024 05:48PM UTC coverage: 67.887% (-29.6%) from 97.504%
#219

push

408 of 601 relevant lines covered (67.89%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.33
/app/controllers/application_controller.rb
1
require 'sinatra/base'
1✔
2
require 'redis-store'
1✔
3
require_relative '../lib/redis_object'
1✔
4
require_relative '../lib/persistent_link'
1✔
5
require_relative '../lib/persistent_link_collection'
1✔
6

7
class ApplicationController < Sinatra::Base
1✔
8
  enable :sessions
1✔
9

10
  set :root, File.expand_path('../..', __FILE__)
1✔
11

12
  before do
1✔
13
    next unless request.post?
×
14
    content_type :json
×
15
  end
16

17
  not_found do
1✔
18
    erb :not_found
×
19
  end
20

21
  error 500 do
1✔
22
    erb :internal_server_error
×
23
  end
24

25
end
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