Sha256: 43e435d5eb3fa9a27091eef663dc91287f5da087409380b0ebae4f66a94f7ddd

Contents?: true

Size: 487 Bytes

Versions: 6

Compression:

Stored size: 487 Bytes

Contents

module TestApplicationHelper
  extend self

  class TestRackApplication
    def call(env)
      code   = 200
      body   = [ "test body" ]
      header = { "Content-Type"           => "text/html;charset=utf-8",
                 "Content-Length"         => "9",
                 "X-XSS-Protection"       => "1; mode=block",
                 "X-Content-Type-Options" => "nosniff",
                 "X-Frame-Options"        => "SAMEORIGIN" }
      [ code, header, body ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facemock-oauth-0.0.6 spec/support/test_application_helper.rb
facemock-oauth-0.0.5 spec/support/test_application_helper.rb
facemock-oauth-0.0.4 spec/support/test_application_helper.rb
facemock-oauth-0.0.3 spec/support/test_application_helper.rb
facemock-oauth-0.0.2 spec/support/test_application_helper.rb
facemock-oauth-0.0.1 spec/support/test_application_helper.rb