Sha256: dec90d7c94014ee13ef5b9537d93aedfbf620a32294c2e0b7238b6b7249a5c22

Contents?: true

Size: 1.62 KB

Versions: 7

Compression:

Stored size: 1.62 KB

Contents

require 'test_helper'

class WitAiParseModelExamplesControllerTest < ActionDispatch::IntegrationTest
  setup do
    @wit_ai_parse_model_example = wit_ai_parse_model_examples(:one)
  end

  test "should get index" do
    get wit_ai_parse_model_examples_url
    assert_response :success
  end

  test "should get new" do
    get new_wit_ai_parse_model_example_url
    assert_response :success
  end

  test "should create wit_ai_parse_model_example" do
    assert_difference('WitAiParseModelExample.count') do
      post wit_ai_parse_model_examples_url, params: { wit_ai_parse_model_example: { wit_ai_parse_model_id: @wit_ai_parse_model_example.wit_ai_parse_model_id } }
    end

    assert_redirected_to wit_ai_parse_model_example_url(WitAiParseModelExample.last)
  end

  test "should show wit_ai_parse_model_example" do
    get wit_ai_parse_model_example_url(@wit_ai_parse_model_example)
    assert_response :success
  end

  test "should get edit" do
    get edit_wit_ai_parse_model_example_url(@wit_ai_parse_model_example)
    assert_response :success
  end

  test "should update wit_ai_parse_model_example" do
    patch wit_ai_parse_model_example_url(@wit_ai_parse_model_example), params: { wit_ai_parse_model_example: { wit_ai_parse_model_id: @wit_ai_parse_model_example.wit_ai_parse_model_id } }
    assert_redirected_to wit_ai_parse_model_example_url(@wit_ai_parse_model_example)
  end

  test "should destroy wit_ai_parse_model_example" do
    assert_difference('WitAiParseModelExample.count', -1) do
      delete wit_ai_parse_model_example_url(@wit_ai_parse_model_example)
    end

    assert_redirected_to wit_ai_parse_model_examples_url
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jester-data-8.0.0 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-5.2.1 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-2.0.1 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-1.1.0 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-1.0.0 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-0.0.0.1.0 test/controllers/wit_ai_parse_model_examples_controller_test.rb
ezii-os-0.0.0.0.1 test/controllers/wit_ai_parse_model_examples_controller_test.rb