fixxing minor rubocop offenses for specs #26
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue