Sha256: 3bfaef47795071a54f616296effe7d5f712fe06e55f95ca364b65a93b829c9df

Contents?: true

Size: 456 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 1 rubygems

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