Sha256: 8bbe83b972d60cc14af20834fa83acf3b7256e581f4907cf86926d2ae2b2d0ec

Contents?: true

Size: 699 Bytes

Versions: 3

Compression:

Stored size: 699 Bytes

Contents

rspec_filter 'receive' do
  # can't change expect/should right now due to undef/Opal
  filter 'RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations can toggle the available syntax'

  filter('RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided').unless { at_least_opal_0_11? }
  filter('RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided').unless { at_least_opal_0_11? }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-rspec-0.6.2 spec/rspec/mocks/filter/bugs/receive.rb
opal-rspec-0.6.1 spec/rspec/mocks/filter/bugs/receive.rb
opal-rspec-0.6.0 spec/rspec/mocks/filter/bugs/receive.rb