Skip to content

Commit a66252a

Browse files
committed
fix
1 parent 17ce8e1 commit a66252a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/api_resources/string_corrections_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
expect(list_corrections).to eq(200)
1414
end
1515

16-
it 'when request is valid with optional parameters', :default do
16+
it 'when request is valid', :default do
1717
query = { stringId: string_id, limit: 50, offset: 10, orderBy: 'createdAt desc', denormalizePlaceholders: 1 }
1818
stub_request(:get, "https://api.crowdin.com/#{target_api_url}/projects/#{project_id}/corrections")
1919
.with(query: query)
@@ -31,7 +31,7 @@
3131
expect(add_correction).to eq(200)
3232
end
3333

34-
it 'when request is valid without optional plural category', :default do
34+
it 'when request is valid', :default do
3535
body = { stringId: 35_434, text: 'This string has been corrected' }
3636
stub_request(:post, "https://api.crowdin.com/#{target_api_url}/projects/#{project_id}/corrections")
3737
.with(body: body)
@@ -47,7 +47,7 @@
4747
expect(get_correction).to eq(200)
4848
end
4949

50-
it 'when request is valid with denormalizePlaceholders', :default do
50+
it 'when request is valid', :default do
5151
stub_request(:get, "https://api.crowdin.com/#{target_api_url}/projects/#{project_id}/corrections/#{correction_id}")
5252
.with(query: { denormalizePlaceholders: 1 })
5353
get_correction = @crowdin.get_correction(correction_id, { denormalizePlaceholders: 1 }, project_id)

0 commit comments

Comments
 (0)