projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a host of testcase failure issues. Still not done, but this is the end of syntact...
[selectricity]
/
test
/
functional
/
election_controller_test.rb
diff --git
a/test/functional/election_controller_test.rb
b/test/functional/election_controller_test.rb
index 18733048979d34d2b351ab4798fb1220f589fac9..136c75539383fb40ca940acb4a909d9f6914665a 100644
(file)
--- a/
test/functional/election_controller_test.rb
+++ b/
test/functional/election_controller_test.rb
@@
-1,14
+1,14
@@
require File.dirname(__FILE__) + '/../test_helper'
require File.dirname(__FILE__) + '/../test_helper'
-require 'election
s
_controller'
+require 'election_controller'
# Re-raise errors caught by the controller.
# Re-raise errors caught by the controller.
-class Election
s
Controller; def rescue_action(e) raise e end; end
+class ElectionController; def rescue_action(e) raise e end; end
-class Election
s
ControllerTest < Test::Unit::TestCase
+class ElectionControllerTest < Test::Unit::TestCase
fixtures :elections
def setup
fixtures :elections
def setup
- @controller = Election
s
Controller.new
+ @controller = ElectionController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
Benjamin Mako Hill
||
Want to submit a patch?