agenda-libre-ruby/test/controllers/lugs_controller_test.rb

18 lines
287 B
Ruby
Raw Normal View History

2014-07-27 01:50:22 +02:00
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