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
517
517
{
518
518
for : @test_model ,
519
519
method : :put ,
520
- path : "/test_models /#{ @test_model . id } " ,
520
+ path : "/some_test_models /#{ @test_model . id } " ,
521
521
success : { emit : "update_successful" } ,
522
522
failure : { emit : "form_has_errors" }
523
523
}
524
524
end
525
525
end
526
526
527
- class TestModelsController < ApplicationController
527
+ class SomeTestModelsController < ApplicationController
528
528
include Matestack ::Ui ::Core ::ApplicationHelper
529
529
530
530
def show
@@ -552,7 +552,7 @@ def test_model_params
552
552
end
553
553
554
554
Rails . application . routes . draw do
555
- resources :test_models
555
+ resources :some_test_models
556
556
end
557
557
end
558
558
@@ -563,7 +563,7 @@ def test_model_params
563
563
specify do
564
564
test_model = TestModel . create title : "Foo" , description : "This is a very nice foo!"
565
565
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 )
567
567
expect ( find_field ( :title ) . value ) . to eq "Foo"
568
568
569
569
fill_in :title , with : "Bar"
You can’t perform that action at this time.
0 commit comments