Sha256: 25263f79db8463deea6b1180618edb9f01ed06f17c1698774c5385f457d7630a

Contents?: true

Size: 506 Bytes

Versions: 6

Compression:

Stored size: 506 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

6 entries across 6 versions & 1 rubygems

Version Path
rails-backbone-generator-0.1.9 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.1.8 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.1.7 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.1.6 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.1.5 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt
rails-backbone-generator-0.1.4 lib/generators/backbone_generator/templates/spec/javascripts/%namespace%/collections/%collection_name%_spec.coffee.tt