Sha256: 97c1be6ee2be57fcacb8fb26c5c5b2e493d31282fde4e0be5c96fe973edd5a61

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

require 'bundler/setup'
require 'notifiers'

RSpec.configure do |config|
  config.include Notifiers
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

shared_examples_for 'a notifier' do
  describe '#notify' do
    it { expect(subject).to respond_to(:notify) }
  end

  describe '.installed?' do
    it { expect(described_class).to respond_to(:installed?) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notifiers-1.2.2 spec/spec_helper.rb
notifiers-1.2.1 spec/spec_helper.rb