spec/bot_spec.rb in bigbench-0.0.5 vs spec/bot_spec.rb in bigbench-0.0.6

- old
+ new

@@ -1,10 +1,11 @@ require_relative "./helpers" describe BigBench::Bot do - + before(:each) do + Dir.chdir File.dirname(__FILE__) BigBench::Store.reset! end it "should check for an empty receipt" do BigBench::Store.setup!("http://localhost:6379").should be_true @@ -14,10 +15,10 @@ end it "should load and run a test from the redis store" do BigBench::Store.setup!("http://localhost:6379").should be_true - test = File.open("spec/tests/local.rb", "rb"){ |file| file.read } + test = File.open("tests/local.rb", "rb"){ |file| file.read } BigBench::Store.test = test BigBench::Store.start BigBench::Bot.check_test! \ No newline at end of file