Skip to content

Commit

Permalink
Change n to number in method arguments
Browse files Browse the repository at this point in the history
This is clearer.
  • Loading branch information
cbaines committed Sep 7, 2018
1 parent 75dbe17 commit 40fa4b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/presenters/needs_csv_presenter_test.rb
Expand Up @@ -5,8 +5,8 @@ def base_url
"http://www.example.com/needs"
end

def csv_file(n)
File.read(Rails.root.join("test", "fixtures", "needs", "needs-#{n}.csv"))
def csv_file(number)
File.read(Rails.root.join("test", "fixtures", "needs", "needs-#{number}.csv"))
end

context "csv_from_need_ids" do
Expand Down

0 comments on commit 40fa4b5

Please sign in to comment.