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.1.1 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.1.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.18 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.17 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.16 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.15 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.13 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.12 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.11 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.10 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.9 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.8 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.7 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.6 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.5 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.4 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.3 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.2 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.1 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-1.0.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb