Skip to content

Commit

Permalink
Remove CertWatch prefix from registered admin
Browse files Browse the repository at this point in the history
  • Loading branch information
tf committed Nov 6, 2017
1 parent 1ac3479 commit 6c7de32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/cert_watch/certificates.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'cert_watch/views/all'

module CertWatch
ActiveAdmin.register Certificate do
ActiveAdmin.register Certificate, as: 'Certificate' do
menu priority: 100

actions :index, :new, :create, :show, :edit, :update
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rails_helper'

module Admin
RSpec.describe CertWatchCertificatesController, type: :controller do
RSpec.describe CertificatesController, type: :controller do
describe '#create' do
it 'creates custom certificate' do
post(:create, certificate: {
Expand Down

0 comments on commit 6c7de32

Please sign in to comment.