Sha256: b1229fedd93c7213d725cede044460014b1d5ead74c95718f696364db8a09142

Contents?: true

Size: 279 Bytes

Versions: 8

Compression:

Stored size: 279 Bytes

Contents

require 'spec_helper'

describe PassengerMetrics do
  it 'should defer to stats' do
    expect_any_instance_of(PassengerMetrics::Status).to receive(:passenger_status_output).and_return(fixture_string('status.xml'))
    expect(PassengerMetrics.status.info).to be_a(Hash)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
passenger-metrics-0.0.7 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.6 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.5 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.4 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.3 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.2 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.1 spec/passenger_metrics_spec.rb
passenger-metrics-0.0.0 spec/passenger_metrics_spec.rb