Sha256: 56d97437d72ab130f900081fa37794b2c88c82a5e6d2638a94a80723dc9f99fd

Contents?: true

Size: 323 Bytes

Versions: 12

Compression:

Stored size: 323 Bytes

Contents

RSpec provides a fluent interface off of `expect(...).to receive(...)` that allows you to
further constrain what you expect: the arguments, the number of times, and the ordering of
multiple messages.

Although not shown here, this fluent interface is also supported by [spies](./basics/spies), off of
`have_received(...)`.

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-1.1.0.alpha2 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-1.1.0.alpha1 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-1.0.0 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-1.0.0.alpha1 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.8.0 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.8.0.alpha3 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.8.0.alpha2 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.8.0.alpha1 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.7.1 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.7.0 rspec-mocks/upstream/features/setting_constraints/README.md
opal-rspec-0.7.0.rc.2 rspec-mocks/upstream/features/setting_constraints/README.md