Sha256: a481041ed2b76f63ddeac0cb386ef356494eac0b81c11a5f4f3d4b3357c8c3e2

Contents?: true

Size: 470 Bytes

Versions: 17

Compression:

Stored size: 470 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(method)

      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
brauser-3.1.5 spec/frameworks_helper.rb
brauser-3.1.4 spec/frameworks_helper.rb
brauser-3.1.3 spec/frameworks_helper.rb
brauser-3.1.2 spec/frameworks_helper.rb
brauser-3.1.1 spec/frameworks_helper.rb
brauser-3.1.0 spec/frameworks_helper.rb
brauser-3.0.1 spec/frameworks_helper.rb
brauser-3.0.0 spec/frameworks_helper.rb
brauser-2.1.4 spec/frameworks_helper.rb
brauser-2.1.3 spec/frameworks_helper.rb
brauser-2.1.2 spec/frameworks_helper.rb
brauser-2.1.1 spec/frameworks_helper.rb
brauser-2.1.0 spec/frameworks_helper.rb
brauser-2.0.3 spec/frameworks_helper.rb
brauser-2.0.2 spec/frameworks_helper.rb
brauser-2.0.1 spec/frameworks_helper.rb
brauser-2.0.0 spec/frameworks_helper.rb