Skip to content

Commit

Permalink
Fix more specs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Mar 10, 2023
1 parent 5406b1b commit a2b9751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index
def show
@user = User.find_by_nickname!(params[:id])
@calendar = Calendar.new(Gift.giftable_dates(current_year), @user.gifts.year(current_year))
@merged_contributions = @user.merged_contributions.year(current_year).latest(nil)
@merged_contributions = @user.merged_contributions.excluding_organisations(@user.ignored_organisations).year(current_year).latest(nil)
respond_with @user
end

Expand Down
1 change: 1 addition & 0 deletions spec/requests/projects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
30.times do |i|
create :project, name: "Ruby project #{i}", main_language: 'Ruby'
end
Project.count
visit projects_path

click_on 'More'
Expand Down

0 comments on commit a2b9751

Please sign in to comment.