Sha256: caf905f477d5af9e723a0eb0b6f020913f1093029d9d79660c50283a0c2b5420

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

describe Mixpal do
  describe '#configure' do
    before do
      Mixpal.configure do |config|
        config.helper_module = CustomEventsModule
      end
    end

    it 'allows a helper module to be set on Mixpal.configuration' do
      expect(Mixpal.configuration.helper_module).to be(CustomEventsModule)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mixpal-0.5.0 spec/lib/mixpal_spec.rb
mixpal-0.4.2 spec/lib/mixpal_spec.rb
mixpal-0.4.1 spec/lib/mixpal_spec.rb
mixpal-0.4.0 spec/lib/mixpal_spec.rb
mixpal-0.3.0 spec/lib/mixpal_spec.rb
mixpal-0.2.1 spec/lib/mixpal_spec.rb
mixpal-0.2.0 spec/lib/mixpal_spec.rb