Sha256: d2c599be541a60cb2666c9bfc76fdb6b9498c9e8c3510938285248663710d6e6

Contents?: true

Size: 715 Bytes

Versions: 6

Compression:

Stored size: 715 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe PWN::SAST::ReDOS do
  it 'scan method should exist' do
    scan_response = PWN::SAST::ReDOS
    expect(scan_response).to respond_to :scan
  end

  it 'should display information for security_requirements' do
    security_requirements_response = PWN::SAST::ReDOS
    expect(security_requirements_response).to respond_to :security_requirements
  end

  it 'should display information for authors' do
    authors_response = PWN::SAST::ReDOS
    expect(authors_response).to respond_to :authors
  end

  it 'should display information for existing help method' do
    help_response = PWN::SAST::ReDOS
    expect(help_response).to respond_to :help
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pwn-0.4.512 spec/lib/pwn/sast/redos_spec.rb
pwn-0.4.511 spec/lib/pwn/sast/redos_spec.rb
pwn-0.4.510 spec/lib/pwn/sast/redos_spec.rb
pwn-0.4.509 spec/lib/pwn/sast/redos_spec.rb
pwn-0.4.508 spec/lib/pwn/sast/redos_spec.rb
pwn-0.4.507 spec/lib/pwn/sast/redos_spec.rb