notebook/spec/controllers/admin_controller_spec.rb
2016-10-01 11:30:34 -05:00

30 lines
662 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