Sha256: bbc0f507da9dfc79008b0ccffb8bf09d8f53c1909a74ab8c4482f7cdb2e9d4be

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

describe "<%= [namespace('classify'), 'Models'].compact.join('.') %>", ->
  
  describe "<%= model_name('classify') %>", ->
    @<%= model_name %> = Factory.<%= model_name %>()
  
    it "should build from factory", =>
      expect(@<%= model_name %>).toBeA( <%= [namespace('classify'), "Models", model_name('classify')].compact.join('.') %> )
      # expect(@<%= model_name %>).toHaveAssociated('examples')
      
    it "should have better tests", =>
      # TODO
    

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%/models/%model_name%_spec.coffee.tt
rails-backbone-generator-0.0.1 lib/generators/backbone/templates/spec/javascripts/%namespace%/models/%model_name%_spec.coffee.tt