Sha256: 32365f831e9fb12ad57e9712b1530802c8584c9488d6c16b1ec56d1cbf305d9d

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

beforeEach ->
  @addMatchers toBeEmpty: ->
    _(@actual).isEmpty()
  
  @addMatchers toBeA: (expeced) ->
    @actual instanceof expeced
  
  @addMatchers toBeValid: () ->
    @actual.isValid()

  # Non-recursive version of toContain()
  @addMatchers toInclude: (expeced) ->
    _(@actual).include(expeced)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-backbone-generator-0.0.3 lib/generators/backbone/setup_generator/templates/spec/javascripts/helpers/common_helpers.coffee
rails-backbone-generator-0.0.1 lib/generators/backbone/templates/spec/javascripts/helpers/common_helpers.coffee