Sha256: c5c18fe35769a4e69bc002c2debc7f3b4577e8c3660f449f8944bad8e1fbdca0

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true
RSpec.describe Timeful do
  describe '.configure' do
    it 'yields the module for configuration' do
      expect {
        described_class.configure do |config|
          config.jobs_queue = :timeful
        end
      }.to change(described_class, :jobs_queue).to(:timeful)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
timeful-2.1.0 spec/timeful/timeful_spec.rb
timeful-2.0.0 spec/timeful/timeful_spec.rb
timeful-1.1.0 spec/timeful/timeful_spec.rb
timeful-1.0.0 spec/timeful/timeful_spec.rb
timeful-0.0.1 spec/timeful/timeful_spec.rb