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.27.3 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.3-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.2 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.2-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.1 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.1-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.0 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.0-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.26.1-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.26.1 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.7 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.7-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.6 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.6-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.3 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.3-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.2 spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.2-java spec/app/models/metasploit/model/search/operation/integer_spec.rb
metasploit-model-0.25.1 spec/app/models/metasploit/model/search/operation/integer_spec.rb