Sha256: 5caead645994cb9091075c7b2f7dab1ec470282f22592043b2da788e801f0cf9

Contents?: true

Size: 444 Bytes

Versions: 60

Compression:

Stored size: 444 Bytes

Contents

# Example:
# describe PostsController, type: :controller do
#   it "index returns a success response" do
#     event = payload("posts-index")
#     controller = PostsController.new(event)
#     response = controller.index
#     # pp response
#   end

#   it "show returns a success response" do
#     event = payload("posts-show")
#     controller = PostsController.new(event)
#     response = controller.show
#     # pp response
#   end
# end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
jets-1.6.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.10 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.9 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.8 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.7 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.6 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.5 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.4 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.3 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.2 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.1 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.5.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.11 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.10 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.9 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.8 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.7 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.6 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.5 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.4.4 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb