Sha256: bfae314013ea0f8f7264eb004fd4eb5ff9e33bc7d94ee16edca1aee15f372833

Contents?: true

Size: 427 Bytes

Versions: 164

Compression:

Stored size: 427 Bytes

Contents

# Example:
# describe PostsController, type: :controller do
#   it "index returns a success response" do
#     get '/posts'
#     expect(response.status).to eq 200
#     pp response.body
#   end
#
#   it "show returns a success response" do
#     Post.create(id: 1) unless Post.find_by(id: 1) # TODO: set up factory_bot
#     get '/posts/:id', id: 1
#     expect(response.status).to eq 200
#     pp response.body
#   end
# end

Version data entries

164 entries across 164 versions & 4 rubygems

Version Path
jets-4.0.12 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-4.0.11 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-5.0.13 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.12 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.11 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.10 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.9 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.8 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.7 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.6 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.5 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.4 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.3 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.2 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.1 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-5.0.0 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-4.0.10 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-5.0.0.beta1 lib/jets/generators/overrides/app/templates/spec/controllers/posts_controller_spec.rb
jets-4.0.9 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
jets-4.0.8 lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb