Sha256: fda35a9271ee1612409df2ec5626b6f6061e5f492bcc4157b8b7d148f2005c80

Contents?: true

Size: 598 Bytes

Versions: 20

Compression:

Stored size: 598 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

20 entries across 20 versions & 1 rubygems

Version Path
git_reflow-0.9.9 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.8 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.7 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.6 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.5 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.4 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.3 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.2 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.1 spec/fixtures/issues/comments.json.erb
git_reflow-0.9.0 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.4 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.3 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.2 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.1 spec/fixtures/issues/comments.json.erb
git_reflow-0.8.0 spec/fixtures/issues/comments.json.erb
git_reflow-0.7.5 spec/fixtures/issues/comments.json.erb
git_reflow-0.7.4 spec/fixtures/issues/comments.json.erb
git_reflow-0.7.2 spec/fixtures/issues/comments.json.erb
git_reflow-0.7.1 spec/fixtures/issues/comments.json.erb
git_reflow-0.7.0 spec/fixtures/issues/comments.json.erb