Sha256: 69c5c3d94078ca950286bd3c8ea83dd5c2a4546417bb1a419db9893ffd8c946d

Contents?: true

Size: 643 Bytes

Versions: 5

Compression:

Stored size: 643 Bytes

Contents

# encoding: utf-8

require File.dirname(__FILE__) + '/../../spec_helper'

describe Backup::Configuration::Notifier::Campfire do
  before do
    Backup::Configuration::Notifier::Campfire.defaults do |campfire|
      campfire.api_token = 'my_api_authentication_token'
      campfire.subdomain = 'my_subdomain'
      campfire.room_id   = 'my_room_id'
    end
  end

  it 'should set the default campfire configuration' do
    campfire = Backup::Configuration::Notifier::Campfire
    campfire.api_token.should == 'my_api_authentication_token'
    campfire.subdomain.should == 'my_subdomain'
    campfire.room_id.should   == 'my_room_id'
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
interu-backup-3.0.16 spec/configuration/notifier/campfire_spec.rb
backup-3.0.16 spec/configuration/notifier/campfire_spec.rb
backup-3.0.15 spec/configuration/notifier/campfire_spec.rb
backup-3.0.14 spec/configuration/notifier/campfire_spec.rb
backup-3.0.13 spec/configuration/notifier/campfire_spec.rb