Sha256: c0533424b10393add26594cc181c3cbbeaf97a669bc28339e562f61df2463a95

Contents?: true

Size: 613 Bytes

Versions: 4

Compression:

Stored size: 613 Bytes

Contents

[
  <% 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(", ") %>
]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_reflow-0.8.10 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.9 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.8 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.7 spec/fixtures/issues/comments.json.erb