-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
はない edited this page Sep 8, 2017
·
2 revisions
add your Gemfile
gem 'senju_kan_non'
or
$ gem install senju_kan_non
SenjuKanNon.redeem(first_group: [1,2,3], second_group: [9,8,7])
SenjuKanNon.redeem returns nested array like below:
[[1, 9], [1, 8], [1, 7], [2, 9], [2, 8], [2, 7], [3, 9], [3, 8], [3, 7]]
you can use each pair for your spec repeatedly(maybe you should use rspec-retry).