about summary refs log tree commit diff
path: root/spec/controllers/api/v1/trends/links_controller_spec.rb
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-03-04 11:12:54 -0500
committerGitHub <noreply@github.com>2023-03-04 17:12:54 +0100
commitad585fb1959abe38839c30137cf3343737f1d247 (patch)
treefb54e2d608fb03b5b8a9d6339752a0ae505f0ac6 /spec/controllers/api/v1/trends/links_controller_spec.rb
parentcd99fa8cebc6efa059b4fca743d517c88f8d9686 (diff)
Specs api v1 controllers (#23930)
Diffstat (limited to 'spec/controllers/api/v1/trends/links_controller_spec.rb')
-rw-r--r--spec/controllers/api/v1/trends/links_controller_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/controllers/api/v1/trends/links_controller_spec.rb b/spec/controllers/api/v1/trends/links_controller_spec.rb
new file mode 100644
index 000000000..71a7e2e47
--- /dev/null
+++ b/spec/controllers/api/v1/trends/links_controller_spec.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+require 'rails_helper'
+
+describe Api::V1::Trends::LinksController do
+  render_views
+
+  describe 'GET #index' do
+    it 'returns http success' do
+      get :index
+
+      expect(response).to have_http_status(200)
+    end
+  end
+end