Sha256: fa295a4be0beb0a1de18bde51b5763b411902d4a368a7529af2f7bc2c7e06c7a
Contents?: true
Size: 586 Bytes
Versions: 7
Compression:
Stored size: 586 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/test_unit_spec_helper") describe Test::Unit::UI::TestRunnerMediator do attr_reader :driver before do @driver = Polonium::Configuration.instance end it "start the server runner before suite and stops it after the suite" do suite = Test::Unit::TestSuite.new mediator = Test::Unit::UI::TestRunnerMediator.new(suite) runner = driver.create_app_server_runner mock(driver).create_app_server_runner {runner} mock(runner).stop mock(driver).stop_driver_if_necessary(true) mediator.run_suite end end
Version data entries
7 entries across 7 versions & 1 rubygems