spec/spec_helper.rb in pessimize-0.1.0 vs spec/spec_helper.rb in pessimize-0.2.0
- old
+ new
@@ -1,14 +1,15 @@
require 'rspec'
require 'pessimize'
require 'open3'
+require 'ripper'
def data_file(name)
File.new(File.dirname(__FILE__) + '/data/' + name)
end
RSpec.configure do |c|
- c.filter_run_excluding :platform => lambda { |platform|
+ c.filter_run_excluding :exclude_platform => lambda { |platform|
RUBY_PLATFORM.to_s == platform.to_s
}
end
module IntegrationHelper