Sha256: 1b2370e0fdf384623c0f313f9fcb948c925316963cb574f2c6bad1aef847a7bc

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

# encoding: utf-8
#
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#

require "ostruct"

if !defined?(Rails) then
  module Rails
  end

  module ActionController
    class Base
      def request
        OpenStruct.new(headers: {})
      end

      def self.helper_method(_)

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brauser-3.1.6 spec/frameworks_helper.rb