From 67130ecb14f2eeca94fa70558b28917febd57282 Mon Sep 17 00:00:00 2001 From: makicamel Date: Sat, 16 Sep 2023 16:19:09 +0900 Subject: [PATCH] Move routes to execute multiple specs --- spec/fake_app/config/routes.rb | 6 ++++++ spec/fake_app/fake_app.rb | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 spec/fake_app/config/routes.rb diff --git a/spec/fake_app/config/routes.rb b/spec/fake_app/config/routes.rb new file mode 100644 index 0000000..435de7d --- /dev/null +++ b/spec/fake_app/config/routes.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +BulletmarkRepairerTestApp::Application.routes.draw do + resources :multiple_lines, only: [:index] + resources :previous_lines, only: [:index] +end diff --git a/spec/fake_app/fake_app.rb b/spec/fake_app/fake_app.rb index cac2b00..f479dad 100644 --- a/spec/fake_app/fake_app.rb +++ b/spec/fake_app/fake_app.rb @@ -1,10 +1,5 @@ # frozen_string_literal: true -BulletmarkRepairerTestApp::Application.routes.draw do - resources :multiple_lines, only: [:index] - resources :previous_lines, only: [:index] -end - class CreateAllTables < ActiveRecord::Migration[7.0] def self.up create_table 'plays' do |t|