diff --git a/spec/request/projects/create_spec.rb b/spec/requests/projects/create_spec.rb similarity index 95% rename from spec/request/projects/create_spec.rb rename to spec/requests/projects/create_spec.rb index e5612ad2e..d3acd224b 100644 --- a/spec/request/projects/create_spec.rb +++ b/spec/requests/projects/create_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Create project requests', type: :request do +RSpec.describe 'Create project requests' do let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } let(:project) { create(:project, user_id:) } diff --git a/spec/request/projects/destroy_spec.rb b/spec/requests/projects/destroy_spec.rb similarity index 94% rename from spec/request/projects/destroy_spec.rb rename to spec/requests/projects/destroy_spec.rb index 69a8f82aa..5bda9344f 100644 --- a/spec/request/projects/destroy_spec.rb +++ b/spec/requests/projects/destroy_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Project delete requests', type: :request do +RSpec.describe 'Project delete requests' do let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } context 'when user is logged in' do diff --git a/spec/request/projects/images_spec.rb b/spec/requests/projects/images_spec.rb similarity index 97% rename from spec/request/projects/images_spec.rb rename to spec/requests/projects/images_spec.rb index deb6a48b8..0369f0e1f 100644 --- a/spec/request/projects/images_spec.rb +++ b/spec/requests/projects/images_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Images requests', type: :request do +RSpec.describe 'Images requests' do let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } let(:project) { create(:project, user_id:) } let(:image_filename) { 'test_image_1.png' } diff --git a/spec/request/projects/index_spec.rb b/spec/requests/projects/index_spec.rb similarity index 97% rename from spec/request/projects/index_spec.rb rename to spec/requests/projects/index_spec.rb index 2b9c3789a..4d050fedf 100644 --- a/spec/request/projects/index_spec.rb +++ b/spec/requests/projects/index_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Project index requests', type: :request do +RSpec.describe 'Project index requests' do include PaginationLinksMock let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } diff --git a/spec/request/projects/remix_spec.rb b/spec/requests/projects/remix_spec.rb similarity index 97% rename from spec/request/projects/remix_spec.rb rename to spec/requests/projects/remix_spec.rb index d830fb9fb..3776e0175 100644 --- a/spec/request/projects/remix_spec.rb +++ b/spec/requests/projects/remix_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Remix requests', type: :request do +RSpec.describe 'Remix requests' do let!(:original_project) { create(:project) } let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } let(:project_params) do diff --git a/spec/request/projects/show_spec.rb b/spec/requests/projects/show_spec.rb similarity index 98% rename from spec/request/projects/show_spec.rb rename to spec/requests/projects/show_spec.rb index 019d5eb56..d7d525ca5 100644 --- a/spec/request/projects/show_spec.rb +++ b/spec/requests/projects/show_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Project show requests', type: :request do +RSpec.describe 'Project show requests' do let!(:project) { create(:project) } let(:project_json) do { diff --git a/spec/request/projects/update_spec.rb b/spec/requests/projects/update_spec.rb similarity index 98% rename from spec/request/projects/update_spec.rb rename to spec/requests/projects/update_spec.rb index 06e8e9359..69fc72f04 100644 --- a/spec/request/projects/update_spec.rb +++ b/spec/requests/projects/update_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'Project update requests', type: :request do +RSpec.describe 'Project update requests' do let(:user_id) { 'e0675b6c-dc48-4cd6-8c04-0f7ac05af51a' } let(:project) { create(:project, user_id:) }