<div class="embassies">
  <%- sample_data.each do |details| -%>
    <div class="embassy">
      <div class="address">
        <h3>Address:</h3>
        <%= simple_format details["address"] %>
      </div>
      <div class="phone">
        <h3>Phone:</h3>
        <p><%= details["phone"] %></p>
      </div>
    </div>
  <%- end -%>
</div>

<div class="embassies">
  <% sample_data.each do |details| %>
    <div class="embassy">
      <div class="address">
        <h3>Address:</h3>
        <%= simple_format details["address"] %>
      </div>
      <div class="phone">
        <h3>Phone:</h3>
        <p><%= details["phone"] %></p>
      </div>
    </div>
  <% end %>
</div>

Remove space-stripping ERB tags from test fixtures
Remove space-stripping ERB tags from test fixtures

The use of `<%- -%>` has no effect[1].

[1]: "When on a line that only contains whitespaces except for the tag, <% %>
suppress leading and trailing whitespace, including the trailing newline. <% %>
and <%- -%> are the same. Note however that <%= %> and <%= -%> are different:
only the latter removes trailing whitespaces." from
http://api.rubyonrails.org/classes/ActionView/Base.html
