Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fake_sensu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake_sensu

  • 0.1.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Fake Sensu

A sensu api without all the dependencies. For testing.

Usage

Include it in your spec or test helper, and start it in the before suite block:

require 'fake_sensu'

RSpec.configure do |config|
  config.before :suite do
    FakeSensu.start! "0.10.2"
  end
end

Adding a new verision

If you want to add support for an additional sensu api version:

  • spin up a vagrant vm with sensu on it
  • run the test suite, killing it before the end (be sure to fully log out or the test suite will continue to run in the background and kill your data)
  • run the generate_responses script against the sensu vm you created
./generate_responses http://foo:bar@192.168.5.5/4567

FAQs

Package last updated on 05 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc