Sha256: 1ba531adcc44fdbb15dc00663ad9c134759a2abcaa77f432631cad8cf3f8d142

Contents?: true

Size: 312 Bytes

Versions: 19

Compression:

Stored size: 312 Bytes

Contents

describe "base delegate" do

  before { @subject = BaseDelegate.new }

  it 'should call on_load on launch' do
    @subject.mock!(:on_load) do |app, options|
      app.should.be.kind_of(UIApplication)
    end

    @subject.application(UIApplication.sharedApplication, didFinishLaunchingWithOptions: {})
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
motion-prime-0.4.5 spec/delegate/base_delegate_spec.rb
motion-prime-0.4.4 spec/delegate/base_delegate_spec.rb
motion-prime-0.4.3 spec/delegate/base_delegate_spec.rb
motion-prime-0.4.2 spec/delegate/base_delegate_spec.rb
motion-prime-0.4.1 spec/delegate/base_delegate_spec.rb
motion-prime-0.4.0 spec/delegate/base_delegate_spec.rb
motion-prime-0.3.3 spec/delegate/base_delegate_spec.rb
motion-prime-0.3.2 spec/delegate/base_delegate_spec.rb
motion-prime-0.3.1 spec/delegate/base_delegate_spec.rb
motion-prime-0.3.0 spec/delegate/base_delegate_spec.rb
motion-prime-0.2.1 spec/delegate/base_delegate_spec.rb
motion-prime-0.2.0 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.7 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.6 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.5 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.4 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.3 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.2 spec/delegate/base_delegate_spec.rb
motion-prime-0.1.1 spec/delegate/base_delegate_spec.rb