Sha256: 1593044933d78366c255fd88e457f617de2fbd8ba39e0175f5c3bc160e34b24f

Contents?: true

Size: 548 Bytes

Versions: 11

Compression:

Stored size: 548 Bytes

Contents

require 'spec_helper'

describe 'specify runner in jasmine.yml' do
  before do
    File.unlink "spec/temp_out.html" if File.file?('spec/temp_out.html')
  end

  it 'should randomize the run order' do
    output = %x{bin/jasmine-headless-webkit -j spec/jasmine/runner_out_in_jasmine_yml/jasmine.yml}
    $?.exitstatus.should == 2

    output.should include("made it")
    output.should include("1 test")

    "spec/temp_out.html".should be_a_file
  end

  after do
    File.unlink "spec/temp_out.html" if File.file?('spec/temp_out.html')
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
jasmine-headless-webkit-firstbanco-0.9.0.rc.5 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.4 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.3 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.2 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.9.0.rc.2 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.9.0.rc1 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.8.4 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.8.3 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.8.1 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.8.0 spec/integration/specify_runner_file_spec.rb
jasmine-headless-webkit-0.8.0.alpha.1 spec/integration/specify_runner_file_spec.rb