jasmine-headless-webkit/spec/integration/randomization_spec.rb
2011-11-29 10:56:02 -05:00

14 lines
302 B
Ruby

require 'spec_helper'
describe 'randomize run order' do
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