Skip to content

Commit

Permalink
test suppliers_spec.rb: task #213
Browse files Browse the repository at this point in the history
just add the index request test
  • Loading branch information
Pauloparakleto committed Mar 5, 2024
1 parent 3f6f987 commit 3c8ebab
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/requests/suppliers_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe 'Suppliers', type: :request do
include_context 'with user signed in'

describe 'GET /suppliers' do
it 'is success' do
get suppliers_url
expect(response).to have_http_status(:success)
end
end
end

0 comments on commit 3c8ebab

Please sign in to comment.