Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ task "performance_test_ci" do

GEMS.each do |gem|
$: << "#{gem}/test"
paths << "#{gem}/test/performance/**/*_test.rb"
paths << "#{gem}/test/performance/**/*_test.rb"
end

Rails::TestUnit::Runner.rake_run(paths)
Expand Down
4 changes: 2 additions & 2 deletions core/lib/workarea/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -951,8 +951,8 @@ def self.setup_defaults
# migration.
config.localized_active_fields = true

# Options passed to the Selenium driver's capabilities
# Chrome 75+ defaults to W3C protocol. The old `w3c: false` forced the
# Options passed to the Selenium driver's capabilities
# Chrome 75+ defaults to W3C protocol. The old `w3c: false` forced the
# deprecated JSON Wire Protocol, which modern Chrome/chromedriver rejects.
config.headless_chrome_options = {}

Expand Down
2 changes: 1 addition & 1 deletion core/lib/workarea/ext/freedom_patches/bson_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BSON::Document
# Save the original method if it exists
if method_defined?(:deep_symbolize_keys!)
alias_method :original_bson_deep_symbolize_keys!, :deep_symbolize_keys!

# Override to convert to Hash first, then symbolize
def deep_symbolize_keys!
# Convert to regular Hash to avoid BSON deprecation
Expand Down
2 changes: 1 addition & 1 deletion core/test/lib/workarea/elasticsearch/document_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_count

assert_equal(1, Foo.count)
assert_equal(1, Foo.current_index.count({}))

# Test count with query filter
assert_equal(1, Foo.current_index.count({ query: { term: { id: '1' } } }))
assert_equal(0, Foo.current_index.count({ query: { term: { id: '999' } } }))
Expand Down
Loading