Sha256: 0a63200eb4524493cede5b713de054b6c87bbf71a57ce81630765b1c6ce71fbe

Contents?: true

Size: 322 Bytes

Versions: 20

Compression:

Stored size: 322 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

Version Path
motion-prime-1.0.7 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.6 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.5 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.4 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.3 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.2 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.1 spec/unit/delegate/delegate_spec.rb
motion-prime-1.0.0 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.9.2 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.9.1 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.9 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.8 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.7 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.6 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.5 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.4 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.3 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.2 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.1 spec/unit/delegate/delegate_spec.rb
motion-prime-0.9.0 spec/unit/delegate/delegate_spec.rb