Skip to content
Snippets Groups Projects
Commit a7d5152d authored by Butler, Alexis (UG - Computer Science)'s avatar Butler, Alexis (UG - Computer Science)
Browse files

updated todo's and planned dash tests

parent 74674c5d
No related branches found
No related tags found
Loading
require 'test_helper' require 'test_helper'
#TODO: Write Admin controller tests
class Admin::DashboardControllerTest < ActionDispatch::IntegrationTest class Admin::DashboardControllerTest < ActionDispatch::IntegrationTest
test "should get index" do test 'should get dashboard if logged in and admin' do
end
test 'should not get dashboard if logged in but not admin' do
end
test 'should not get dashboard if not logged in' do
end end
end end
require 'test_helper' require 'test_helper'
#TODO: write order admin tests
class Admin::OrdersControllerTest < ActionDispatch::IntegrationTest class Admin::OrdersControllerTest < ActionDispatch::IntegrationTest
test "should get index" do test "should get index" do
end end
......
require 'test_helper' require 'test_helper'
#TODO: write product admin tests
class Admin::ProductsControllerTest < ActionDispatch::IntegrationTest class Admin::ProductsControllerTest < ActionDispatch::IntegrationTest
test "should get index" do test "should get index" do
end end
......
require 'test_helper' require 'test_helper'
#TODO: write section admin tests
class Admin::SectionsControllerTest < ActionDispatch::IntegrationTest class Admin::SectionsControllerTest < ActionDispatch::IntegrationTest
test "should get index" do test "should get index" do
end end
......
require 'test_helper' require 'test_helper'
#TODO: write user admin tests
class Admin::UsersControllerTest < ActionDispatch::IntegrationTest class Admin::UsersControllerTest < ActionDispatch::IntegrationTest
test "should get index" do test "should get index" do
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment