Give a better error message on received expectations with args

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Add a changelog entry for #269

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Drop length checking, first gives nils when empty.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Add a spec that tests we don't gsub [ for ( for array arguments.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Remove some uneeded string mutation in the error generator

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Make `stub_const` and `hide_const` work for modules that define send

Closes #272.
Merge pull request #273 from samphippen/mutate-on-classes-defining-send

Make `stub_const` work on classes that define `self.send`
Merge pull request #269 from samphippen/better-received-messages-args

Give a better error message on received expectations with args
Generate a useful description for have_received

* Makes `it { should have_received(:message) }` produce useful output
Merge pull request #256 from thoughtbot/jf-have-received-description

Generate a useful description for have_received
fix marshal dump extension when nil is used
changelog entry
switch how we check nil equality
forcibly reset warnings
Merge pull request #276 from JonRowe/fix_marshal_dump_for_nil

Fix Marshall.dump when used with expectations on nil
ensure we check that allowing messsage expectations on nil is isolated per example
reset expectations from proxy (which is registered on space)
grammar
refactor proxy to take nil as a special case
remove nil warnings from method double