リビジョン 05fddbda
| test/functional/glossray_styles_controller_test.rb | ||
|---|---|---|
|
require File.dirname(__FILE__) + '/../test_helper'
|
||
|
|
||
|
class GlossrayStylesControllerTest < ActionController::TestCase
|
||
|
# Replace this with your real tests.
|
||
|
def test_truth
|
||
|
assert true
|
||
|
end
|
||
|
end
|
||
| test/functional/term_categories_controller_test.rb | ||
|---|---|---|
|
require File.dirname(__FILE__) + '/../test_helper'
|
||
|
|
||
|
class TermCategoriesControllerTest < ActionController::TestCase
|
||
|
# Replace this with your real tests.
|
||
|
def test_truth
|
||
|
assert true
|
||
|
fixtures :projects, :users, :roles, :members, :member_roles
|
||
|
|
||
|
def setup
|
||
|
@project = projects('projects_001')
|
||
|
@project.enabled_module_names = [:glossary]
|
||
|
roles('roles_001').add_permission! :manage_term_categories
|
||
|
end
|
||
|
|
||
|
def test_index_response
|
||
|
@request.session[:user_id] = users('users_002').id
|
||
|
get :index, params: { project_id: 1 }
|
||
|
assert_response :success
|
||
|
end
|
||
|
end
|
||
| test/functional/term_queries_controller_test.rb | ||
|---|---|---|
|
require File.dirname(__FILE__) + '/../test_helper'
|
||
|
|
||
|
class TermQueriesControllerTest < ActionController::TestCase
|
||
|
# Replace this with your real tests.
|
||
|
def test_truth
|
||
|
assert true
|
||
|
end
|
||
|
end
|
||
Make functional test for term_categories. Remove unuse test file