Sha256: 05e42e4dcdce57c8afe8284cdeb07331cd87ad5c4c1dc35f46fa0bd81f2f47cc

Contents?: true

Size: 473 Bytes

Versions: 46

Compression:

Stored size: 473 Bytes

Contents

require 'spec_helper'

# Example:
# RSpec.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

46 entries across 46 versions & 1 rubygems

Version Path
jets-0.10.4 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.10.3 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.10.2 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.10.1 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.10.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.9.2 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.9.1 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.9.0 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.18 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.17 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.15 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.14 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.13 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.12 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.11 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.10 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.9 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.8 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.6 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-0.8.5 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb