lib/ring/sqa/core.rb in ring-sqa-0.1.2 vs lib/ring/sqa/core.rb in ring-sqa-0.1.3
- old
+ new
@@ -19,9 +19,11 @@
private
def initialize
require_relative 'log'
@database = Database.new
+ # make sure Ping is created
+ raise "Table 'pings' does not exist" unless Ring::SQA::Database::Ping.table_exists?
@nodes = Nodes.new
run
end
end