Skip to content

Commit

Permalink
Cucumber shouldn't have to run from the JAR file. [#2]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Nov 11, 2009
1 parent 3593d79 commit f27439c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/support/env.rb
@@ -1,11 +1,11 @@
path = File.expand_path(File.dirname(__FILE__))
require File.expand_path(path + '/../../lib/swinger/lib/swinger')

require File.expand_path(path + '/../../../package/jar/Hive.jar')
$CLASSPATH << path + '/../../../package/classes'

puts "It takes a while for the scenarios to begin executing, so please be patient..."

Java::org::rubyforge::rawr::Main.main([].to_java(:string))
require path + '/../../../src/main'
sleep(1)

at_exit do
Expand Down

0 comments on commit f27439c

Please sign in to comment.