Sha256: 8e9bf03df7bc867d60df0a8975e366ec5da888380a85ff02a030152aa6203b92

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

require 'spec_helper'

feature 'Charts json' do
  it 'should has cpu information' do
    visit '/charts/10min/renew.json'
    expect(page).to have_content /.*cpu.*\:\[({.*},?)+\]/
  end
  it 'should has ram information' do
    visit '/charts/10min/renew.json'
    expect(page).to have_content /.*ram.*\:\[({.*},?)+\]/
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ServState-0.1.3 spec/integration/charts_json_spec.rb
ServState-0.1.2 spec/charts_json_spec.rb
ServState-0.1.1 spec/charts_json_spec.rb
ServState-0.1.0 spec/charts_json_spec.rb