Skip to content

Commit 8f1e9a4

Browse files
committed
Update expected test results for estimates and translation
1 parent cf888ad commit 8f1e9a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/integration/estimates_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
create_order: false
8787
)
8888

89-
expect(create_estimate_response.data.type).to eq 'shipping'
89+
expect(create_estimate_response.data.type).to eq 'ecommerce'
9090
expect(create_estimate_response.data.mass_g).to be >= 10_000
9191
end
9292

spec/integration/projects_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
it 'retrieves projects in the requested language' do
7777
projects_response = Patch::Project.retrieve_projects(accept_language: 'fr')
7878

79-
expect(projects_response.data.first.name).to include 'Démo' # French
79+
expect(projects_response.data.first.name).to include 'Projet de test' # French
8080

8181
project_id = projects_response.data.first.id
8282
project_response = Patch::Project.retrieve_project(project_id, accept_language: 'fr')
83-
expect(project_response.data.name).to include 'Démo' # Frenc
83+
expect(project_response.data.name).to include 'Projet de test' # French
8484
end
8585
end

0 commit comments

Comments
 (0)