spec/spec_helper.rb in pimento-0.0.1 vs spec/spec_helper.rb in pimento-0.0.2
- old
+ new
@@ -1,11 +1,14 @@
-$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+
+require 'rubygems'
require 'pimento'
-require 'spec'
-require 'spec/autorun'
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
+ config.treat_symbols_as_metadata_keys_with_true_values = true
+ config.run_all_when_everything_filtered = true
+ config.filter_run :focus
+
def fixture(filename)
File.dirname(__FILE__) + '/fixtures/' + filename
end
end