fixxing minor rubocop offenses for specs

This commit is contained in:
Tobias Kneuker 2022-09-13 15:43:21 +02:00
parent f7f8774c43
commit 735cc194af
3 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@ describe Api::V1::User::FinancialTransactionsController, type: :controller do
before { request }
it "returns status 200" do
expect(response.status).to eq 200
expect(response).to have_http_status(:ok)
end
end

View File

@ -23,7 +23,7 @@ describe Api::V1::User::GroupOrderArticlesController, type: :controller do
before { request }
it "returns status 200" do
expect(response.status).to eq 200
expect(response).to have_http_status(:ok)
end
it "returns the order_article" do

View File

@ -4,8 +4,7 @@ describe BankTransaction do
let(:bank_account) { create :bank_account }
it 'empty content' do
content = <<-JSON
JSON
content = ''
importer = BankAccountInformationImporter.new(bank_account)
expect(importer.import!(content)).to be_nil