Class: NFAgent::Tests

Inherits:
Object show all
Defined in:
lib/nfagent/tests.rb

Class Method Summary collapse

Class Method Details

.runObject



3
4
5
6
7
8
9
10
# File 'lib/nfagent/tests.rb', line 3

def self.run
  response = Client.post(:poller, Info.new.to_hash)
  if !response.ok?
    puts "Test Failed: #{response.message}"
  else
    puts "Tests PASSED!"
  end
end