Sha256: f78dbe4341d1f3140aa5aa51991a57b9ad160028dcbe0060e305669affbb4a09

Contents?: true

Size: 260 Bytes

Versions: 26

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::Integer::Value'
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
metasploit-model-0.25.1-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.24.1-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.24.1 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb