spec/dummy/app/views/posts/index.html.erb in media_magick-0.2.0 vs spec/dummy/app/views/posts/index.html.erb in media_magick-0.3.0

- old
+ new

@@ -13,10 +13,10 @@ <tr> <td><%= post.title %></td> <td><%= post.text %></td> <td><%= link_to 'Show', post %></td> <td><%= link_to 'Edit', edit_post_path(post) %></td> - <td><%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %></td> + <td><%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </table> <br />