This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared_examples_for "hogehoge" do | |
it "should be_valid" do | |
check_count = 10 | |
check_count.times do | |
sample_count = 1000 | |
counts = {1 => 0, 2 => 0} | |
sample_count.times do | |
counts[xxx[:id]] += 1 | |
end | |
(counts[1] < counts[2]).should be_true |