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 }
|
before { request }
|
||||||
|
|
||||||
it "returns status 200" do
|
it "returns status 200" do
|
||||||
expect(response.status).to eq 200
|
expect(response).to have_http_status(:ok)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ describe Api::V1::User::GroupOrderArticlesController, type: :controller do
|
||||||
before { request }
|
before { request }
|
||||||
|
|
||||||
it "returns status 200" do
|
it "returns status 200" do
|
||||||
expect(response.status).to eq 200
|
expect(response).to have_http_status(:ok)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "returns the order_article" do
|
it "returns the order_article" do
|
||||||
|
|
|
@ -4,8 +4,7 @@ describe BankTransaction do
|
||||||
let(:bank_account) { create :bank_account }
|
let(:bank_account) { create :bank_account }
|
||||||
|
|
||||||
it 'empty content' do
|
it 'empty content' do
|
||||||
content = <<-JSON
|
content = ''
|
||||||
JSON
|
|
||||||
|
|
||||||
importer = BankAccountInformationImporter.new(bank_account)
|
importer = BankAccountInformationImporter.new(bank_account)
|
||||||
expect(importer.import!(content)).to be_nil
|
expect(importer.import!(content)).to be_nil
|
||||||
|
|
Loading…
Reference in a new issue