18 lines
287 B
Ruby
18 lines
287 B
Ruby
require 'test_helper'
|
|
|
|
class LugsControllerTest < ActionController::TestCase
|
|
setup do
|
|
@lug = lugs :one
|
|
end
|
|
|
|
test "should get index" do
|
|
get :index
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get show" do
|
|
get :show, id: @lug
|
|
assert_response :success
|
|
end
|
|
end
|