add cucumber test for main process

This commit is contained in:
szpyxlwoni
2012-11-15 10:17:16 +08:00
parent e7e5566447
commit eabc239dc2
9 changed files with 210 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env ruby
vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
if vendored_cucumber_bin
load File.expand_path(vendored_cucumber_bin)
else
require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'cucumber'
load Cucumber::BINARY
end