spec/spec_helper.rb in torasup-0.0.7 vs spec/spec_helper.rb in torasup-0.0.8
- old
+ new
@@ -2,7 +2,14 @@
require 'coveralls'
Coveralls.wear!
RSpec.configure do |config|
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
- config.treat_symbols_as_metadata_keys_with_true_values = true
+
+ config.expect_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
+
+ config.mock_with :rspec do |mocks|
+ mocks.syntax = [:should, :expect]
+ end
end