Sha256: 37b0a7813d45f342331d6eb37cd3bd43dc6f4f33c71457abda3ce898e10a6790

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

# encoding: utf-8
module TestServer
  module SpecHelper
    module Eicar
      def eicar_test_string
        %w{X  5  O  !  P  %  @  A  P  [  4  \\  P  Z  X  5  4  (  P  ^  )  7  C  C  )  7  \}  $  E  I  C  A  R  -  S  T  A  N  D  A  R  D  -  A  N  T  I  V  I  R  U  S  -  T  E  S  T  -  F  I  L  E  !  $  H  +  H  * }.join
      end
    end
  end
end

RSpec.configure do |c|
  c.include TestServer::SpecHelper::Eicar
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_server-0.5.2 spec/support/eicar.rb
test_server-0.5.1 spec/support/eicar.rb
test_server-0.5.0 spec/support/eicar.rb