I’ve got a simple controller. It calls Foo.something(‘xyz’) and
returns ‘XYZ’. I have a before filter for my entire application that
calls Foo.something(nil) and returns nil.
I’m not sure how to specify that in my tests and rspec is complaining
about expecting one or the other. I’m sure it’s something simple, but
I’m missing it.
What I want is this, but in the additive sense and it seems to be in
the replacement sense:
What’s the syntax to handle this?