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

pulibrary / bibdata / b3c4a532-5da0-46f8-9c20-20018605a028

21 Mar 2025 08:11PM UTC coverage: 42.257% (-49.9%) from 92.185%
b3c4a532-5da0-46f8-9c20-20018605a028

push

circleci

sandbergja
Move various gems from the default Gemfile group to a more appropriate group

1599 of 3784 relevant lines covered (42.26%)

2.56 hits per line

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

58.82
/app/controllers/events_controller.rb
1
class EventsController < ApplicationController
1✔
2
  before_action :set_event, only: %i[show destroy] # , :edit, :update]
1✔
3
  before_action :authenticate_user!, only: [:destroy]
1✔
4

5
  respond_to :html, :json
1✔
6

7
  def index
1✔
8
    @events = Event.order('start asc')
×
9
    respond_with(@events)
×
10
  end
11

12
  def show
1✔
13
    respond_with(@event)
×
14
  end
15

16
  def destroy
1✔
17
    @event.destroy
×
18
    respond_with(@event)
×
19
  end
20

21
  private
1✔
22

23
    def set_event
1✔
24
      # nosemgrep
25
      @event = Event.find(params[:id])
×
26
    end
27

28
    def event_params
1✔
29
      params.require(:event).permit(:start, :finish, :error, :success)
×
30
    end
31
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