notebook/spec/controllers/admin_controller_spec.rb
2016-10-01 19:00:09 -05:00

30 lines
659 B
Ruby

require 'rails_helper'
require 'support/devise'
RSpec.describe AdminController, type: :controller do
describe 'GET #dashboard' do
before { get :dashboard }
it { is_expected.to respond_with(200) }
end
describe 'GET #universes' do
before { get :universes }
it { is_expected.to respond_with(200) }
end
describe 'GET #characters' do
before { get :characters }
it { is_expected.to respond_with(200) }
end
describe 'GET #locations' do
before { get :locations }
it { is_expected.to respond_with(200) }
end
describe 'GET #items' do
before { get :items }
it { is_expected.to respond_with(200) }
end
end