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

19 lines
321 B
Ruby
Raw Normal View History

2014-07-27 01:50:22 +02:00
require 'test_helper'
# Free Software groups life cycle
2014-07-27 01:50:22 +02:00
class LugsControllerTest < ActionController::TestCase
setup do
@lug = lugs :one
end
test 'should get index' do
2014-07-27 01:50:22 +02:00
get :index
assert_response :success
end
test 'should get show' do
2014-07-27 01:50:22 +02:00
get :show, id: @lug
assert_response :success
end
end