def with_infinity(date_unit) limit = 20 (date_unit..Inf).each do |x| ...
describe Stock do it "should be valid when new" do ...
Ruby repeated code in rspec mode...
how do i clean up this repe...
def with_infinity(date_unit) limit = 20 (date_unit..Inf).each do |x| ...
describe Stock do it "should be valid when new" do ...
how do i clean up this repe...
This piece of code specifie...