Thank you Myron for the answer. It's very clear.
I built the above example just to explain my question/case. Let's not worry about the particulars of this example.
It is the idea of validating the context and your answer covers it very well. I am also on the same page like you are.
However, there are some people that they find strange using "expect(...)" to validate the test context. In order to make it clear, they like the idea to check the validity
of the test context. What they don't like is the usage of the "expect(...)" method to do that.
Is there any other RSpec suggested method to do that? For example, when using Jasmine, I use the "fail(...)" method which I call if
the test context is not valid (in the before block again). If not, I was thinking about creating a helper method like "validate_context(...)" that would
raise an error like "RSpec::ContextValidityError", and that I could call for such cases in which I want to validate the context.
What are your thoughts?
Panos