Sha256: e1a53c4b575173dd98c80f9f6a7f525d3696c049039e42afd14a4d3a77191549

Contents?: true

Size: 200 Bytes

Versions: 7

Compression:

Stored size: 200 Bytes

Contents

# Example:
#   it { should have_received(:new).with(array_without_key(:name)) }
RSpec::Matchers.define :array_without_key do |expected|
  match do |actual|
    not actual.has_key?(expected)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-2.3.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-2.2.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-2.1.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-2.0.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-1.4.0 spec/support/matchers/array_without_key.rb
bigbluebutton_rails-1.4.0.beta1 spec/support/matchers/array_without_key.rb