Sha256: 90311ba8b9f733299c0e37ddd5f0515613466992ead50ce36af1e513c80b96b1

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

require "test_helper"

class UsersControllerTest < ActionDispatch::IntegrationTest
  test "should post create" do
    post users_url
    assert_redirected_to root_path
  end

  test "should patch update" do
    patch user_url(users(:one))
    assert_redirected_to root_path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap_form-5.1.0 demo/test/controllers/users_controller_test.rb