This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TorqueSpec.local { | |
TorqueSpec::Configurator.configure do |config| | |
config.after(:suite) do | |
Thread.current[:app_server].stop unless Thread.current[:app_server].nil? | |
end | |
end | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# istead of originally | |
require 'rspec/core' | |
# this supports RSpec 1 | |
begin | |
# RSpec v2 | |
require 'rspec/core' | |
rescue Exception | |
# RSpec v1 | |
require 'spec' | |
end |
OlderNewer