Closed adamlogic closed 10 years ago
RSpec/Given uses simple heuristics to determine the end of a Then clause.
I've changed the code to actually parse the Then line and continue adding lines until we can get an entire parsable expression. Version 3.5.0 (pushed and released) has those changes.
Thanks for finding this issue.
Thanks, Jim!
Running this spec produces the following error:
Running ruby 2.0.0p195, rspec-given 3.4.0