Q:

What causes "--- []" in rspec output?

I'm testing content on a page using capybara's have_content syntax:
describe "Places page" do
  before { visit places_path }
  it { is_expected.to have_content "Places" }
  it { is_expected.to have_title(full_title('Places')) }
end

That code causes this output in the terminal when I run the spec file:
.....--- []
.--- []
.

Each it block will generate three dashes and brackets "--- []" in the output. The page itself contains an index of Place objects and has an embedded google map. What could cause this and how do I get rid of it?

A:

I discovered the answer thanks to Малъ Скрылевъ and Marek Lipka. I grepped for any "puts" in my code or any dependencies. YAMLs dump_steam method outputs "--- []"
I was using a gem called smart_listing and inside one of the helper methods I found the code:
puts args.to_yaml

Newer versions of the gem seem to have removed this line. I removed it and "--- []" is gone from my rspec output.

