Skip to content

Commit

Permalink
Fix test for new demo data (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcothenet authored Jul 6, 2022
1 parent f340aee commit 371e50c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integration/projects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
it 'retrieves projects in the requested language' do
projects_response = Patch::Project.retrieve_projects(accept_language: 'fr')

expect(projects_response.data.first.name).to include 'Projet' # French
expect(projects_response.data.first.name).to include 'Démo' # French

project_id = projects_response.data.first.id
project_response = Patch::Project.retrieve_project(project_id, accept_language: 'fr')
expect(project_response.data.name).to include 'Projet' # Frenc
expect(project_response.data.name).to include 'Démo' # Frenc
end
end

0 comments on commit 371e50c

Please sign in to comment.