/sixarm_ruby_action_controller_mock

SixArm.com » Ruby » ActionController mock object for testing Rails.

Primary LanguageRubyOtherNOASSERTION

SixArm.com » Ruby »
ActionController mock object for testing Rails

Gem Version Build Status Code Climate

Introduction

ActionController mock object that we use to test our various gems for Rails.

This provides the basics that we need; you probably won't ever need to use this gem.

For docs go to http://sixarm.com/sixarm_ruby_action_controller_mock/doc

Want to help? We're happy to get pull requests.

Install

Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_action_controller_mock

Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_action_controller_mock'

Require

To require the gem in your code:

require 'sixarm_ruby_action_controller_mock'

Example

require "sixarm_ruby_action_controller_mock"
class ApplicationController < ActionController::Base
  before_filter :foo  # mock
  after_filter :bar   # mock
end