Skip to content

Commit

Permalink
Corrige problemas de lint (rubocop)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliseuramos93 committed Feb 15, 2024
1 parent 425990e commit c3a3d60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
expect(json_response['data']['proposal_id']).to eq 1
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
expect(result).to be_empty
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
it 'retorna array de objetos do tipo Project' do
json_data = File.read(Rails.root.join('./spec/support/json/projects.json'))
fake_response = double('faraday_response', success?: true, body: json_data)

allow(Faraday).to receive(:get).with('http://localhost:3000/api/v1/projects').and_return(fake_response)

result = ProjectsService::ColaBoraApiGetProjects.send

json_response = JSON.parse(result.body)
Expand Down

0 comments on commit c3a3d60

Please sign in to comment.