summaryrefslogtreecommitdiff
path: root/spec/requests/companies_controller/show_companies_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/companies_controller/show_companies_controller_spec.rb')
-rw-r--r--spec/requests/companies_controller/show_companies_controller_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/requests/companies_controller/show_companies_controller_spec.rb b/spec/requests/companies_controller/show_companies_controller_spec.rb
deleted file mode 100644
index fc5bbd0..0000000
--- a/spec/requests/companies_controller/show_companies_controller_spec.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-require 'rails_helper'
-
-RSpec.describe 'GET /api/companies/:short_name', type: :request do
- it_behaves_like 'a GET resource request' do
- let(:headers) { {} }
- let(:company) { create(:company) }
- let(:route) { "/api/companies/#{company.short_name}" }
- let(:invalid_route) { "/api/companies/#{Faker::Lorem.word}" }
- let(:expected_text) { [company.name, company.id.to_s, company.short_name, company.country] }
- end
-end