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

19 lines
321 B
Ruby

require 'test_helper'
# Free Software groups life cycle
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