require 'rails_helper' RSpec.describe KepplerFrontend::Admin::ViewsController, type: :controller do let(:user) { create(:user) } # describe 'GET to /admin/frontend/views/:id/editor' do # before(:each) do # @view = create(:keppler_frontend_views, method: "GET") # end # let(:response) do # sign_in user # get :editor, params: { id: @view.id } # end # it { expect(response).to have_http_status(200) } # it { expect(response).to render_template('editor') } # end end