Sha256: 6894c233c672fd594fead4473b20cf022ae3c8d8e63e1a2d86fce7a22ae19d99

Contents?: true

Size: 612 Bytes

Versions: 13

Compression:

Stored size: 612 Bytes

Contents

[
  <% comments_json = [] %>
  <% comments.each_with_index do |comment, index| %>
    <% comments_json << Fixture.new('pull_requests/comment.json.erb',
                    id: index,
                    author: comment[:author],
                    pull_request_number: pull_request_number,
                    repo_owner: repo_owner,
                    repo_name: repo_name,
                    body: comment[:body] || 'Hammer time',
                    created_at: comment[:created_at] || Chronic.parse('October 21, 2015 07:28:00')
                   ).to_s %>
  <% end %>
  <%= comments_json.join(", ") %>
]

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
git_reflow-0.9.9 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.8 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.7 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.6 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.5 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.4 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.3 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.2 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.1 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.9.0 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.8.4 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.8.3 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.8.2 spec/fixtures/pull_requests/comments.json.erb