```ruby
require "spec_helper"

describe MetricFu do
  it "loads the .metrics file" do
    # Global only for testing that this file gets loaded
    $metric_file_loaded = false
    MetricFu.loader.load_user_configuration
    expect($metric_file_loaded).to be_truthy
  end
end
```

Use MetricFu.with_run_dir to avoid flakiness
user
```ruby
require "spec_helper"

describe MetricFu do
  it "loads the .metrics file" do
    # Global only for testing that this file gets loaded
    $metric_file_loaded = false
    MetricFu.with_run_dir Dir["spec/support"] do
      MetricFu.loader.load_user_configuration
    end

    expect($metric_file_loaded).to be_truthy
  end
end
```
assistant