mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 09:10:12 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
27
test/functional/integrations_controller_test.rb
Normal file
27
test/functional/integrations_controller_test.rb
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'integrations_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
class IntegrationsController; def rescue_action(e) raise e end; end
|
||||
|
||||
class IntegrationsControllerTest < Test::Unit::TestCase
|
||||
fixtures :users, :preferences, :projects, :contexts, :todos, :tags, :taggings
|
||||
|
||||
def setup
|
||||
@controller = IntegrationsController.new
|
||||
@request = ActionController::TestRequest.new
|
||||
@response = ActionController::TestResponse.new
|
||||
end
|
||||
|
||||
# Replace this with your real tests.
|
||||
def test_truth
|
||||
assert true
|
||||
end
|
||||
|
||||
def test_page_load
|
||||
login_as(:admin_user)
|
||||
get :rest_api
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue