spec/spec_helper.rb in cssquirt-0.0.1 vs spec/spec_helper.rb in cssquirt-0.0.2
- old
+ new
@@ -1,12 +1,13 @@
require 'rspec'
require 'cssquirt'
include CSSquirt
RSpec.configure do |config|
- config.color_enabled = true
+ config.color = true
config.formatter = 'documentation'
+ config.expect_with(:rspec) { |c| c.syntax = :should }
config.before(:all) { silence_output }
config.after(:all) { enable_output }
end
@@ -23,6 +24,6 @@
def enable_output
$stderr = @orig_stderr
$stdout = @orig_stdout
@orig_stderr = nil
@orig_stdout = nil
-end
\ No newline at end of file
+end