Skip to content

Commit

Permalink
Merge pull request #386 from zendesk/jury.razumau/random_spec_order
Browse files Browse the repository at this point in the history
run specs in random order
  • Loading branch information
razumau authored Jan 3, 2025
2 parents 1f687c4 + 1a7e0fb commit dbce491
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--format documentation
--require spec_helper
--color
--order random
6 changes: 6 additions & 0 deletions spec/datadog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

RSpec.describe Racecar::Datadog do
describe '.statsd' do
before do
Racecar::Datadog.socket_path = nil
Racecar::Datadog.host = nil
Racecar::Datadog.port = nil
end

it 'configures with host/port by default' do
statsd = Racecar::Datadog.statsd
expect(statsd.host).to eq('127.0.0.1')
Expand Down

0 comments on commit dbce491

Please sign in to comment.