spec/fixtures/issues/comments.json.erb in git_reflow-0.8.10 vs spec/fixtures/issues/comments.json.erb in git_reflow-0.9.0
- old
+ new
@@ -1,15 +1,15 @@
-[
- <% comment_json = [] %>
- <% comments.each_with_index do |comment, index| %>
- <% comment_json << Fixture.new('issues/comment.json.erb',
- id: comment[:id] || index + 1,
- author: comment[:author],
- pull_request_number: pull_request_number,
- repo_owner: repo_owner,
- repo_name: repo_name,
- body: comment[:body] || 'Hmmm...',
- created_at: comment[:created_at] || '2011-04-14T16:00:49Z'
- ).to_s %>
- <% end %>
- <%= comment_json.join(", ") %>
-]
+[
+ <% comment_json = [] %>
+ <% comments.each_with_index do |comment, index| %>
+ <% comment_json << Fixture.new('issues/comment.json.erb',
+ id: comment[:id] || index + 1,
+ author: comment[:author],
+ pull_request_number: pull_request_number,
+ repo_owner: repo_owner,
+ repo_name: repo_name,
+ body: comment[:body] || 'Hmmm...',
+ created_at: comment[:created_at] || '2011-04-14T16:00:49Z'
+ ).to_s %>
+ <% end %>
+ <%= comment_json.join(", ") %>
+]