Sha256: 93341249ce04a56cc129edb2d961c6d6e8aa1ae1eb6889b57905281f0bd88421

Contents?: true

Size: 291 Bytes

Versions: 11

Compression:

Stored size: 291 Bytes

Contents

require "spec_helper"

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

11 entries across 11 versions & 2 rubygems

Version Path
codez-tarantula-0.5.5 spec/relevance/tarantula/basic_attack_spec.rb
codez-tarantula-0.5.4 spec/relevance/tarantula/basic_attack_spec.rb
codez-tarantula-0.5.3 spec/relevance/tarantula/basic_attack_spec.rb
codez-tarantula-0.5.1 spec/relevance/tarantula/basic_attack_spec.rb
codez-tarantula-0.5.0 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.5.1 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.5.0 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.4.3 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.4.2 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.4.1 spec/relevance/tarantula/basic_attack_spec.rb
tarantula-0.4.0 spec/relevance/tarantula/basic_attack_spec.rb