Sha256: 68c34b5e1671f9d6988ee20fd7162d124cb3a530dfa9f3af178847132764682d

Contents?: true

Size: 554 Bytes

Versions: 32

Compression:

Stored size: 554 Bytes

Contents

# encoding:utf-8

require 'spec_helper'

describe ExceptionNotifier::AsanaNotifier do
  let(:options) { double('options') }

  before(:each) do
    allow(options).to receive(:symbolize_keys) { options }
    allow(options).to receive(:reject) { options }
    allow_any_instance_of(ExceptionNotifier::AsanaNotifier).to receive(:parse_options).and_return(true)
    @subject = ExceptionNotifier::AsanaNotifier.new(options)
  end

  describe '#initialize' do
    it 'creates a object' do
      expect(@subject.initial_options).to eq options
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
asana_exception_notifier-2.2.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-2.1.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-2.0.2 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-2.0.1 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-2.0.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-1.1.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-1.0.2 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-1.0.1 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-1.0.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.8.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.7.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.6.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.5.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.4.0 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.8 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.7 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.6 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.5 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.4 spec/lib/asana_exception_notifier/classes/asana_spec.rb
asana_exception_notifier-0.3.3 spec/lib/asana_exception_notifier/classes/asana_spec.rb