Sha256: 5c2adc3ad42f6b728824b1a2903f8deaa2e9089e48303baad95e1cf976f55da9

Contents?: true

Size: 264 Bytes

Versions: 13

Compression:

Stored size: 264 Bytes

Contents

describe "<%=class_name%>Controller", ->
  controller = null
  
  beforeEach ->
    SPEC_CONTEXT.redirectTo "<%=file_name%>/index"
    controller = SPEC_CONTEXT.current_controller
  
  it "should do something", ->
    expect(controller).toBeKindOf(Jax.Controller)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jax-2.0.12 templates/controller_spec.js.coffee.erb
jax-2.0.11 templates/controller_spec.js.coffee.erb
jax-2.0.10 templates/controller_spec.js.coffee.erb
jax-2.0.9 templates/controller_spec.js.coffee.erb
jax-2.0.8 templates/controller_spec.js.coffee.erb
jax-2.0.7 templates/controller_spec.js.coffee.erb
jax-2.0.6 templates/controller_spec.js.coffee.erb
jax-2.0.5 templates/controller_spec.js.coffee.erb
jax-2.0.4 templates/controller_spec.js.coffee.erb
jax-2.0.3 templates/controller_spec.js.coffee.erb
jax-2.0.2 templates/controller_spec.js.coffee.erb
jax-2.0.1 templates/controller_spec.js.coffee.erb
jax-2.0.0 templates/controller_spec.js.coffee.erb