Sha256: 0b4aefe06cf1609634d4336cafae13c3c0702d057a78366595aebe86c114711f

Contents?: true

Size: 599 Bytes

Versions: 7

Compression:

Stored size: 599 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('1 minute ago')
                   ).to_s %>
  <% end %>
  <%= comments_json.join(", ") %>
]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
git_reflow-0.8.1 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.8.0 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.7.5 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.7.4 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.7.2 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.7.1 spec/fixtures/pull_requests/comments.json.erb
git_reflow-0.7.0 spec/fixtures/pull_requests/comments.json.erb