Displaying 1 result from an estimated 1 matches for "description_args".
2013 Mar 28
0
Dude, where's my full description? (bug report & suggested fix in rspec-core 2.13.1)
...on
from the matcher gets stored into metadata[:description] after the example
is run, but metadata[:full_description] never gets updated. This results in
the following metadata hash for our example:
{
:caller => ...,
:description => "should == \"an object\"",
:description_args = [],
:example_group => ...,
:example_group_block => #<Proc: ...>,
:execution_result => ...,
}
No :full_description entry in sight.
This means that, when someone calls `example.description` after the test is
run, they get the generated matcher description, because the i...