spec/spec_helper.rb in pessimize-0.4.0 vs spec/spec_helper.rb in pessimize-0.5.0
- old
+ new
@@ -1,8 +1,9 @@
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'rspec'
+require 'rspec/its'
require 'pessimize'
require 'open3'
require 'ripper'
def data_file(name)
@@ -11,9 +12,10 @@
RSpec.configure do |c|
c.filter_run_excluding :exclude_platform => lambda { |platform|
RUBY_PLATFORM.to_s == platform.to_s
}
+ c.expect_with(:rspec) { |config| config.syntax = :should }
end
module IntegrationHelper
def setup
Dir.mkdir('tmp')