mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-18 21:06:40 +00:00
started using rspec 2.x
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
--format specdoc
|
||||
--color
|
||||
@@ -1,15 +1,12 @@
|
||||
# require "rubygems"
|
||||
# require File.dirname(__FILE__) + "/../lib/redistat"
|
||||
# add project-relative load paths
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
|
||||
# require stuff
|
||||
require 'redistat'
|
||||
require 'spec'
|
||||
require 'spec/autorun'
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
|
||||
end
|
||||
|
||||
require 'rspec'
|
||||
require 'rspec/autorun'
|
||||
|
||||
# use the test Redistat instance
|
||||
Redistat.connect({:port => 8379, :db => 15})
|
||||
Redistat.flush
|
||||
Reference in New Issue
Block a user