Skip to content

Commit

Permalink
Improve expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Sep 27, 2013
1 parent 60263d6 commit cc318d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/command_line/order_spec.rb
Expand Up @@ -113,7 +113,7 @@
it "forces '--order rand' and runs the examples and groups in the same order each time" do
2.times { run_command 'tmp/aruba/spec/order_spec.rb --seed 123 -f doc' }

expect(stdout.string).to match(/Randomized with seed \d+/)
expect(stdout.string).to match(/Randomized with seed 123/)

top_level_groups {|first_run, second_run| expect(first_run).to eq(second_run)}
nested_groups {|first_run, second_run| expect(first_run).to eq(second_run)}
Expand Down

0 comments on commit cc318d0

Please sign in to comment.