Sha256: dd821562382a87e0fc9fff4d5293ed44b72af6d13c1c423022aa654fe5638725

Contents?: true

Size: 725 Bytes

Versions: 20

Compression:

Stored size: 725 Bytes

Contents

module Remarkable
  module ActionController
  end
end

dir = File.dirname(__FILE__)
require File.join(dir, 'action_controller', 'base')
require File.join(dir, 'action_controller', 'macro_stubs')

# Load matchers
Dir[File.join(dir, 'action_controller', 'matchers', '*.rb')].each do |file|
  require file
end

# Include macro_stubs and matchers in Spec::Rails
if defined?(Spec::Rails)
  Spec::Rails::Example::ControllerExampleGroup.send :include, Remarkable::ActionController::MacroStubs

  Remarkable.include_matchers!(Remarkable::ActionController, Spec::Rails::Example::ControllerExampleGroup)
  Remarkable.include_matchers!(Remarkable::ActionController, Spec::Rails::Example::RoutingExampleGroup)
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
remarkable_rails-3.1.7 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.8 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.5 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.4 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.10 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.2 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.3 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.0 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.1 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.6 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.3 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.7 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.8 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.0 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.1 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.2 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.0.9 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.5 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.4 lib/remarkable_rails/action_controller.rb
remarkable_rails-3.1.6 lib/remarkable_rails/action_controller.rb