Skip to content

Commit

Permalink
Fix RSpec/FilePath violations
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosCodes committed Feb 16, 2023
1 parent 3a020d8 commit 306d225
Show file tree
Hide file tree
Showing 30 changed files with 228 additions and 270 deletions.
494 changes: 226 additions & 268 deletions .rubocop_todo.yml

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'fileutils'
require "json-schema"

describe Apipie::ApipiesController do
describe Apipie::ApipiesController, type: :controller do

describe "GET index" do

Expand Down Expand Up @@ -159,7 +159,7 @@
describe "GET index as swagger" do

let(:swagger_schema) do
File.read(File.join(File.dirname(__FILE__),"../lib/swagger/openapi_2_0_schema.json"))
File.read("#{Rails.root.parent}/lib/swagger/openapi_2_0_schema.json")
end

it "outputs swagger when format is json and type is swagger" do
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 306d225

Please sign in to comment.