Sha256: 50eaa51a735f676c120a5347c7d15e73e222b263842585fd68c42b8fe938abbc

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

require 'spec_helper'
require 'browser/immediate'

describe Browser::Immediate do
  async 'defers a proc' do
    proc {|a|
      run_async {
        a.should == 42
      }
    }.defer(42)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-browser-0.1.0.beta1 spec/immediate_spec.rb