spec/spec_helper.rb in stepladder-0.0.2 vs spec/spec_helper.rb in stepladder-0.2.0
- old
+ new
@@ -1,11 +1,26 @@
+require 'rspec/its'
+require 'rspec/given'
+require 'pry'
+
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
+
+require 'stepladder'
+
+RSpec.configure do |cfg|
+ cfg.expect_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
+ cfg.mock_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
+end