Sha256: d92d245a275c003037ee0bbebe49f0d6f115b260a9258985b5fa943bedfe4730

Contents?: true

Size: 221 Bytes

Versions: 21

Compression:

Stored size: 221 Bytes

Contents

$LOAD_PATH.unshift "./lib"
require 'rspec/expectations'
require 'securerandom'

extend RSpec::Matchers

actual    = Array.new(1000) { SecureRandom.uuid }
expected  = actual.shuffle
expect(actual).to match_array(expected)

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-1.1.0.alpha2 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-1.1.0.alpha1 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-1.0.0 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-1.0.0.alpha1 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.8.0 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.8.0.alpha3 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.8.0.alpha2 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.8.0.alpha1 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.7.1 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.7.0 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.6.2 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.7.0.rc.2 rspec-expectations/upstream/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.6.1 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.6.0 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.6.0.beta1 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-connect-rspec-0.5.0 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.5.0 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.5.0.beta3 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb
opal-rspec-0.5.0.beta2 rspec-expectations/benchmarks/match_array/rubyprof/passing_with_distinct_items.rb