mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
Upgrade Selenium on Rails to r140
This commit is contained in:
parent
156862200b
commit
40074c71ad
117 changed files with 16789 additions and 8867 deletions
|
|
@ -5,6 +5,7 @@ class SeleniumControllerTest < Test::Unit::TestCase
|
|||
|
||||
def setup
|
||||
@controller = SeleniumController.new
|
||||
@controller.extend(SeleniumOnRails::PathsTestHelper)
|
||||
ActionController::Routing::Routes.draw
|
||||
SeleniumController.any_instance.stubs(:layout_path).returns(false)
|
||||
@request = ActionController::TestRequest.new
|
||||
|
|
@ -26,7 +27,7 @@ EOS
|
|||
end
|
||||
|
||||
def test_record_with_result
|
||||
@controller.config.configs["result_dir"] = @result_dir
|
||||
@controller.instance_variable_set(:@result_dir, @result_dir)
|
||||
|
||||
post :record, :suite => @suite, "testTable.1" => "<table></table>", "testTable.2" => "<table></table>"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue