require 'stubs/dummy'

module Rails
  extend self

  module Configuration
    extend self

    module Middleware
      extend self

      def include?(what)
        false
      end
    end

    def middleware
      Middleware
    end
  end

  module Env
    extend self

    def development?
      false
    end
  end

  module Application
    extend self

    def assets; end
  end

  def env
    Env
  end

  def configuration
    Configuration
  end

  def root
    'RAILS_ROOT'
  end

  def application
    Application
  end
end

require 'stubs/dummy'

module Logger
  extend self

  def try(*args); end
end

module Rails
  extend self

  module Configuration
    extend self

    module Middleware
      extend self

      def include?(what)
        false
      end
    end

    def middleware
      Middleware
    end
  end

  module Env
    extend self

    def development?
      false
    end
  end

  module Application
    extend self

    module Assets
      extend self
    end

    def assets
      Assets
    end
  end

  def env
    Env
  end

  def configuration
    Configuration
  end

  def logger
    Logger
  end

  def root
    'RAILS_ROOT'
  end

  def application
    Application
  end
end

Add some more stubs to make specs pass
Add some more stubs to make specs pass

Change-Id: I0b69ad23b1980e9854d0cfcc32038703974276c1
Reviewed-on: https://gerrit.causes.com/6792
Tested-by: Steve Dee <239b710744079cbd443875b57204a43cb15ab5d1@causes.com>
Reviewed-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@causes.com>
