File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -517,14 +517,14 @@ def form_config
517517 {
518518 for : @test_model ,
519519 method : :put ,
520- path : "/test_models /#{ @test_model . id } " ,
520+ path : "/some_test_models /#{ @test_model . id } " ,
521521 success : { emit : "update_successful" } ,
522522 failure : { emit : "form_has_errors" }
523523 }
524524 end
525525 end
526526
527- class TestModelsController < ApplicationController
527+ class SomeTestModelsController < ApplicationController
528528 include Matestack ::Ui ::Core ::ApplicationHelper
529529
530530 def show
@@ -552,7 +552,7 @@ def test_model_params
552552 end
553553
554554 Rails . application . routes . draw do
555- resources :test_models
555+ resources :some_test_models
556556 end
557557 end
558558
@@ -563,7 +563,7 @@ def test_model_params
563563 specify do
564564 test_model = TestModel . create title : "Foo" , description : "This is a very nice foo!"
565565
566- visit Rails . application . routes . url_helpers . test_model_path ( test_model )
566+ visit Rails . application . routes . url_helpers . some_test_model_path ( test_model )
567567 expect ( find_field ( :title ) . value ) . to eq "Foo"
568568
569569 fill_in :title , with : "Bar"
You can’t perform that action at this time.
0 commit comments