Fix Busted Functional Tests
Fix the functional tests busted by Revision 212. Sync with latest HTML5lib.
This commit is contained in:
parent
51474e06c8
commit
5db9ddaf47
12 changed files with 67 additions and 30 deletions
|
@ -20,6 +20,11 @@ class WikiControllerTest < Test::Unit::TestCase
|
|||
@controller = WikiController.new
|
||||
@request = ActionController::TestRequest.new
|
||||
@response = ActionController::TestResponse.new
|
||||
class << @request.session
|
||||
attr_accessor :dbman
|
||||
end
|
||||
# simulate a cookie session store
|
||||
@request.session.dbman = FakeSessionDbMan
|
||||
@wiki = Wiki.new
|
||||
@web = webs(:test_wiki)
|
||||
@home = @page = pages(:home_page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue