fixxing minor rubocop offenses for specs #26

Closed
tk wants to merge 1 commit from 25_qs_rubocop_for_specs into master
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