Sha256: 3efd8502c452bba905824ad64b60e27f96e9d8fe59a199525d8eb5cd804ef62f

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

describe "<%= [namespace('classify'), 'Collections'].compact.join('.') %>", ->
  
  describe "<%= collection_name('classify') %>", ->
    @<%= collection_name %> = Factory.<%= collection_name %>()

    it "should build from factory", =>
      expect(@<%= collection_name %>).toBeA(<%= [namespace('classify'), "Collections", collection_name('classify')].compact.join('.') %>)
      expect(@<%= collection_name %>.at(0)).toBeA(<%= [namespace('classify'), "Models", model_name('classify')].compact.join('.') %>)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-backbone-generator-0.0.3 lib/generators/backbone/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.0.1 lib/generators/backbone/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt