1 2 3 4 5 6 7
require 'rspec/expectations' RSpec::Matchers.define :include_all do |expected| match do |actual| ( expected - actual ).empty? end end