Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions app/views/challenge_assignments/_user_index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@
<%== pagy_nav @pagy %>

<dl class="assignment index group">

<% @challenge_assignments.each do |assignment| %>
<%= render "assignment_blurb", assignment: assignment %>
<% end %>

<%= render partial: "assignment_blurb", collection: @challenge_assignments, as: :assignment %>
</dl>

<%== pagy_nav @pagy %>
Expand Down
4 changes: 4 additions & 0 deletions features/gift_exchanges/challenge_giftexchange.feature
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,10 @@ Feature: Gift Exchange Challenge
Then I should see "collection_1"
When I follow "2" within ".pagination"
Then I should see "collection_2"
When there are 20 assignments per page
And I reload the page
Then I should see "My Assignments"
But I should not see "collection_2"

Scenario: Mod can approve a posted assignment in a moderated gift exchange
Given everyone has their assignments for "Awesome Gift Exchange"
Expand Down
Loading