Sha256: 800c00ecd2c76687283ae9ec97df9623a3e20f8d5487dff72fa5cdfe3f95a463

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

require 'spec_helper'

describe Metasploit::Model::Search::Operation::Integer do
  context 'validation' do
    it { should validate_numericality_of(:value).only_integer }
  end

  it_should_behave_like 'Metasploit::Model::Search::Operation::Value::Integer'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
metasploit-model-1.0.0.pre.rails.pre.4.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.30.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.30.0-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.29.2 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.29.2-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.29.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.29.0-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.28.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.28.0-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.4 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.4-java spec/app/models/metasploit/model/search/operation/integer_spec.rb