diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-03-10 10:28:20 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-03-10 10:28:20 +0100 |
commit | 2043f901e5f7abdac030f4aae8bbcb2d8d38476c (patch) | |
tree | 720fa04978da527c64a2e7901dafe506583bc9ce /Rakefile | |
parent | 182f3e9f34026934626ceff42902274f2e6f046c (diff) | |
parent | a851e4794630fbae3b6b3bf228b43f550f61febb (diff) |
dataset tests fixed
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -4,24 +4,13 @@ require 'opentox-ruby' =begin =end class Exception - def message - unless errorCause == nil - errorCause.to_yaml - else - self.to_s - end + errorCause ? errorCause.to_yaml : to_s end - end -#if File.exists? "auth.rb" - #require "auth" -#else - #exit "Please create an authenticatio - TEST_USER = "guest" - TEST_PW = "guest" -#end +TEST_USER = "guest" +TEST_PW = "guest" task ARGV[0] do puts "Environment: #{ENV["RACK_ENV"]}" @@ -41,8 +30,8 @@ task :teardown do OpenTox::Authorization.logout(@@subjectid) end -[:all, :feature, :dataset, :fminer, :lazar, :authorization, :validation].each do |t| -#[:all, :feature, :dataset, :fminer, :lazar, :authorization].each do |t| +#[:all, :feature, :dataset, :fminer, :lazar, :authorization, :validation].each do |t| +[:all, :feature, :dataset, :fminer, :lazar, :authorization].each do |t| task :teardown => t task t => :setup end |