fix regressions in cucumber tests. Add basis test for notes page

This commit is contained in:
Reinier Balt 2012-07-12 23:33:36 +02:00
parent 82bb67f518
commit e03c521314
3 changed files with 8 additions and 13 deletions

View file

@ -1,18 +1,14 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
require 'notes_controller'
# Re-raise errors caught by the controller.
class NotesController; def rescue_action(e) raise e end; end
class NotesControllerTest < ActionController::TestCase
def setup
@controller = NotesController.new
request = ActionController::TestRequest.new
response = ActionController::TestResponse.new
end
# Replace this with your real tests.
def test_truth
assert true
def test_get_notes_page
login_as :admin_user
get :index
assert_response 200
end
end