Sha256: a6d3d0149558b052ac7983d6db5cb34aca4d3fb5effb43bf9c3143a337f4e911

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "VendorDocument" do

  before do
  end

  it "should rotate kid_mult from 0-255" do
    stub(VendorDocument).set_other_vars {}
    arr = []
    0.upto(256) do |n|
      arr << VendorDocument.new.kid_mult
    end
    arr.should == (0..255).to_a << 0
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fossil-0.3.17 spec/models/vendor_document_spec.rb
fossil-0.3.16 spec/models/vendor_document_spec.rb