Sha256: 9c80e21a13e7c90b081cb40379cacd97917b9cc7f1547047198739b7ea26b153

Contents?: true

Size: 470 Bytes

Versions: 5

Compression:

Stored size: 470 Bytes

Contents

# encoding: utf-8
#
# This file is part of the brauser gem. Copyright (C) 2012 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

5 entries across 5 versions & 1 rubygems

Version Path
brauser-1.0.7 spec/frameworks_helper.rb
brauser-1.0.6 spec/frameworks_helper.rb
brauser-1.0.5 spec/frameworks_helper.rb
brauser-1.0.1 spec/frameworks_helper.rb
brauser-1.0.0 spec/frameworks_helper.rb