Add specs for User#is_admin?

This commit is contained in:
2020-11-18 09:17:56 +01:00
parent d8fee4bae2
commit 3030d6f0f3
10 changed files with 59 additions and 28 deletions

View File

@@ -1,12 +0,0 @@
require 'rails_helper'
RSpec.describe "Dashboards", type: :request do
describe "GET /index" do
it "returns http success" do
get "/dashboard/index"
expect(response).to have_http_status(:success)
end
end
end