Sha256: 95babd8672572d7fb4602f1a4c1e1f3580e6447c8b7dcbea7cfae8c050558ee7
Contents?: true
Size: 443 Bytes
Versions: 7
Compression:
Stored size: 443 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') require "shared_factory_specs" require "rubyonacid/factories/random" include RubyOnAcid describe RandomFactory do before :each do @it = RandomFactory.new end it_should_behave_like "a factory" it "generates random numbers between 0 and 1" do @it.get_unit(:x).should_not == @it.get_unit(:x) @it.get_unit(:x).should_not == @it.get_unit(:x) end end
Version data entries
7 entries across 7 versions & 1 rubygems