Sha256: e1362804ae02ea2971a6b998c66079b6aa8d2eb22f46721bb902dca5683bb6b2

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

require 'spec_helper'

describe 'Hockeybrake configuration' do

  it 'accepts basic settings' do
    HockeyBrake.configure do |config|
      config.app_bundle_id= "com.test.app"
      config.app_id="secret"
      config.app_version="test"
    end

    HockeyBrake.configuration.app_bundle_id.should eq('com.test.app')
    HockeyBrake.configuration.app_id.should eq('secret')
    HockeyBrake.configuration.app_version.should eq('test')
  end

  it 'accepts resque specific settings' do
    HockeyBrake.configure do |config|
      config.no_resque_handler = true
    end

    HockeyBrake.configuration.no_resque_handler.should be_true
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hockeybrake-0.0.9 spec/hockeybrake/configuration_spec.rb
hockeybrake-0.0.8 spec/hockeybrake/configuration_spec.rb
hockeybrake-0.0.7 spec/hockeybrake/configuration_spec.rb
hockeybrake-0.0.6 spec/hockeybrake/configuration_spec.rb