Sha256: 21bad107dd08e8fb8df40c8b5554ea75946da97a96d95b580d30aba7d864c5eb

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

require File.dirname(__FILE__) + "/../../example_helper.rb"

describe Relevance::Tarantula::BasicAttack do
  before do
    @attack = Relevance::Tarantula::BasicAttack.new
  end
  
  it "can generate a random whole number" do
    @attack.random_whole_number.should >= 0
    Fixnum.should === @attack.random_whole_number
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
relevance-tarantula-0.3.2 examples/relevance/tarantula/basic_attack_example.rb
relevance-tarantula-0.3.3 examples/relevance/tarantula/basic_attack_example.rb
tarantula-rails3-0.3.3 examples/relevance/tarantula/basic_attack_example.rb
panmind-tarantula-0.3.3 examples/relevance/tarantula/basic_attack_example.rb
tarantula-0.3.3 examples/relevance/tarantula/basic_attack_example.rb