2011-11-28 16:47:05 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2011-11-29 15:56:02 +00:00
|
|
|
describe 'randomize run order' do
|
2011-11-28 16:47:05 +00:00
|
|
|
let(:seed) { 100 }
|
|
|
|
|
|
|
|
it 'should randomize the run order' do
|
|
|
|
output = %x{bin/jasmine-headless-webkit -j spec/jasmine/success/success.yml --seed #{seed}}
|
|
|
|
$?.exitstatus.should == 0
|
|
|
|
|
|
|
|
output.should include("--seed #{seed}")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|