Skip to content

Commit

Permalink
CV2-4233 fix fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Jan 29, 2024
1 parent 53b82d7 commit 0456e14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/models/project_media_2_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def setup
Sidekiq::Testing.inline! do
pm = create_project_media quote: 'Title 0'
assert_equal 'Title 0', pm.title
Bot::Alegre.stubs(:send_field_to_similarity_index).returns({"success": true})
cd = create_claim_description project_media: pm, description: 'Title 1'
assert_queries 0, '=' do
assert_equal 'Title 1', pm.title
Expand All @@ -86,6 +87,7 @@ def setup
assert_queries(0, '>') do
assert_equal 'Title 1', pm.reload.title(true)
end
Bot::Alegre.unstub(:send_field_to_similarity_index)
end
end

Expand Down

0 comments on commit 0456e14

Please sign in to comment.