Skip to content

Commit

Permalink
Fix a method call in date.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jremes-foss authored and stympy committed Jul 15, 2016
1 parent ab37138 commit 05305a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faker/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def between(from, to)
from = get_date_object(from)
to = get_date_object(to)

Faker::Base::rand_in_range(from, to)
Faker::Base.rand_in_range(from, to)
end

def between_except(from, to, excepted)
Expand Down

0 comments on commit 05305a7

Please sign in to comment.