Sha256: c55b45d98ef50b3a7d9159da9a1ad3bb5ce26c5c90fd9317bd02eae83f9497c4

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

require 'spec_helper'

describe server(:db) do
  describe mysql_query('SHOW STATUS') do
    it 'responds uptime' do
      row = results.find {|r| r['Variable_name'] == 'Uptime' }
      expect(row['Value'].to_i).to be > 0
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infrataster-plugin-mysql-0.1.2 spec/mysql_query_spec.rb
infrataster-plugin-mysql-0.1.1 spec/mysql_query_spec.rb
infrataster-plugin-mysql-0.1.0 spec/mysql_query_spec.rb