https://github.com/sixarm/sixarm_ruby_action_controller_mock
SixArm.com » Ruby » ActionController mock object for testing Rails.
https://github.com/sixarm/sixarm_ruby_action_controller_mock
actioncontroller gem mock rails ruby
Last synced: 11 months ago
JSON representation
SixArm.com » Ruby » ActionController mock object for testing Rails.
- Host: GitHub
- URL: https://github.com/sixarm/sixarm_ruby_action_controller_mock
- Owner: SixArm
- License: other
- Created: 2010-05-23T23:14:17.000Z (almost 16 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T19:27:30.000Z (over 2 years ago)
- Last Synced: 2025-02-06T00:26:12.636Z (about 1 year ago)
- Topics: actioncontroller, gem, mock, rails, ruby
- Language: Ruby
- Homepage: http://sixarm.com
- Size: 371 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# SixArm.com » Ruby »
ActionController mock object for testing Rails
[](http://badge.fury.io/rb/sixarm_ruby_action_controller_mock)
[](https://travis-ci.org/SixArm/sixarm_ruby_action_controller_mock)
[](https://codeclimate.com/github/SixArm/sixarm_ruby_action_controller_mock/maintainability)
* Git:
* Doc:
* Gem:
* Contact: Joel Parker Henderson,
* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).
## 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
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