Sha256: 05d511d1d1aaa4cfafe1590d47f1d61c435a4026eb0dd7266a6a338510d4875c

Contents?: true

Size: 158 Bytes

Versions: 32

Compression:

Stored size: 158 Bytes

Contents

RSpec::Matchers.define :be_same_array_as do |expected_array|
    match do |actual_array|
        Set.new(actual_array) == Set.new(expected_array)
    end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
cuboid-0.2.11 spec/support/helpers/matchers.rb
cuboid-0.2.10 spec/support/helpers/matchers.rb
cuboid-0.2.9 spec/support/helpers/matchers.rb
cuboid-0.2.8 spec/support/helpers/matchers.rb
cuboid-0.2.7 spec/support/helpers/matchers.rb
cuboid-0.2.6 spec/support/helpers/matchers.rb
cuboid-0.2.5 spec/support/helpers/matchers.rb
cuboid-0.2.4.2 spec/support/helpers/matchers.rb
cuboid-0.2.4.1 spec/support/helpers/matchers.rb
cuboid-0.2.4 spec/support/helpers/matchers.rb
cuboid-0.2.3 spec/support/helpers/matchers.rb
cuboid-0.2.2 spec/support/helpers/matchers.rb
cuboid-0.2.1 spec/support/helpers/matchers.rb
cuboid-0.2 spec/support/helpers/matchers.rb
cuboid-0.1.9.1 spec/support/helpers/matchers.rb
cuboid-0.1.9 spec/support/helpers/matchers.rb
cuboid-0.1.8 spec/support/helpers/matchers.rb
cuboid-0.1.7 spec/support/helpers/matchers.rb
cuboid-0.1.6.1 spec/support/helpers/matchers.rb
cuboid-0.1.6 spec/support/helpers/matchers.rb