When I run the following failing test with kitchen verify
describe command ('cat example.txt') do
its(:stdout) { should contain('param1 50') }
its(:stdout) { should contain('param2 77') }
end
I get the following failure trace :
Command "cat example.txt"
stdout
should contain "param1 50"
stdout
should contain "param2 77" (FAILED - 1)
Failures:
1) Command "cat example.txt" stdout should contain "param2 77"
On host `101.10.5.103'
Failure/Error: its(:stdout) { should contain('param2 77') }
expected "This is the 1st line of my file example.txt...This is the 25th and last line of my file." to contain "param2 77"
How can I get rspec to show me the full content of my file example.txt, and not only the first and last line of the file separating by "..." as it currently does?