Skip to content

Commit

Permalink
Shuffled tests and updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhildebrandt authored and AlexWayfer committed Aug 24, 2023
1 parent fcf839f commit 4931969
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## development

- Add your change HERE
- Fixed `FFaker::Number.unique.number(digits: 1)` under Ruby 3 [@simonhildebrandt]

# 2.22.0
- *BREAKING CHANGE*: Drop support under ruby 2.7 [@marocchino]
Expand Down
9 changes: 0 additions & 9 deletions test/test_unique_numbers.rb

This file was deleted.

4 changes: 4 additions & 0 deletions test/test_unique_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ def other_stubbed_generator.test
assert_equal(1, tested_unique_object.test)
end
end

def test_generates_unique_numbers
assert_nothing_raised { FFaker::Number.unique.number(digits: 1) }
end
end

0 comments on commit 4931969

Please sign in to comment.