https://github.com/guard/guard
Revision ed70168cacb0b601a8600b44ea1672d8bd8488c9 authored by Rémy Coutable on 01 November 2019, 11:52:11 UTC, committed by GitHub on 01 November 2019, 11:52:11 UTC
Signed-off-by: Rémy Coutable <remy@rymai.me>
1 parent 7b9bb18
Raw File
Tip revision: ed70168cacb0b601a8600b44ea1672d8bd8488c9 authored by Rémy Coutable on 01 November 2019, 11:52:11 UTC
Bump to 2.16.1 (#945)
Tip revision: ed70168
api.feature
Feature: using Guard API

  In order to reuse existing Guard functionality
  As a user
  I want to call Guard API without Guard

  Background: Guard is installed through bundler
    Given my Gemfile includes "gem 'rake'"
    And Guard is bundled using source

  @spawn
  Scenario: Call notifier
    Given my Rakefile contains:
    """
    require "bundler/setup"
    require "guard/notifier"
    task :default do
      Guard::Notifier.notify "foo", title: "bar"
    end

    """
    Given I run `bundle exec rake`
    Then the output should match /bar\nfoo/
back to top