Sha256: 2b4f4b0c0d67ede161181f72e91a5d2efcf4c0c577a93c9300556ae658ee6a0d

Contents?: true

Size: 248 Bytes

Versions: 21

Compression:

Stored size: 248 Bytes

Contents

shared_examples_for "RR::Expectations::TimesCalledExpectation" do
  include_examples "Swapped Space"

  subject { Object.new }

  def raises_expectation_error(&block)
    expect { block.call }.to raise_error(RR::Errors::TimesCalledError)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rr-3.1.1 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.1.0 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.9 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.8 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.7 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.6 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.5 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.4 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.3 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.2 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.1 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-3.0.0 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.2.1 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.2.0 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.2 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.2.rc1 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.1.rc1 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.0 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.0.rc3 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
rr-1.1.0.rc2 spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb