Sha256: 6f732eeabff011cc670175d3bf10808845f925cef5b685bff66d8556df1feede

Contents?: true

Size: 524 Bytes

Versions: 4

Compression:

Stored size: 524 Bytes

Contents

shared_examples 'adapter' do
  before do
    expect(::RSpec).to receive(:configure)
  end

  describe '#bind_time_tracker' do
    it do
      expect {
        subject.bind_time_tracker
      }.not_to raise_error
    end
  end

  describe '#bind_report_generator' do
    it do
      expect {
        subject.bind_report_generator
      }.not_to raise_error
    end
  end

  describe '#bind_time_offset_warning' do
    it do
      expect {
        subject.bind_time_offset_warning
      }.not_to raise_error
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
knapsack-0.5.0 spec/support/shared_examples/adapter.rb
knapsack-0.4.0 spec/support/shared_examples/adapter.rb
knapsack-0.3.0 spec/support/shared_examples/adapter.rb
knapsack-0.2.0 spec/support/shared_examples/adapter.rb