Sha256: 18ef2b15dc8f928ab184ae98e0aa7b664a7fb3678db63dbf82e02b4fe53d3da8

Contents?: true

Size: 325 Bytes

Versions: 25

Compression:

Stored size: 325 Bytes

Contents

describe MotionPrime::BaseAppDelegate 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

25 entries across 25 versions & 1 rubygems

Version Path
motion-prime-0.8.12 spec/delegate/delegate_spec.rb
motion-prime-0.8.11 spec/delegate/delegate_spec.rb
motion-prime-0.8.10 spec/delegate/delegate_spec.rb
motion-prime-0.8.9 spec/delegate/delegate_spec.rb
motion-prime-0.8.8 spec/delegate/delegate_spec.rb
motion-prime-0.8.7 spec/delegate/delegate_spec.rb
motion-prime-0.8.6 spec/delegate/delegate_spec.rb
motion-prime-0.8.5 spec/delegate/delegate_spec.rb
motion-prime-0.8.4 spec/delegate/delegate_spec.rb
motion-prime-0.8.3 spec/delegate/delegate_spec.rb
motion-prime-0.8.2 spec/delegate/delegate_spec.rb
motion-prime-0.8.1 spec/delegate/delegate_spec.rb
motion-prime-0.8.0 spec/delegate/delegate_spec.rb
motion-prime-0.7.2 spec/delegate/delegate_spec.rb
motion-prime-0.7.1 spec/delegate/delegate_spec.rb
motion-prime-0.7.0 spec/delegate/delegate_spec.rb
motion-prime-0.6.0 spec/delegate/delegate_spec.rb
motion-prime-0.5.7 spec/delegate/delegate_spec.rb
motion-prime-0.5.6 spec/delegate/delegate_spec.rb
motion-prime-0.5.5 spec/delegate/delegate_spec.rb