spec/spec_helper.rb in disqus_api-0.0.4 vs spec/spec_helper.rb in disqus_api-0.0.5
- old
+ new
@@ -1,6 +1,7 @@
require 'disqus_api'
+require 'rspec/its'
def load_disqus_config(fname)
DisqusApi.config = YAML.load_file(File.join(File.dirname(__FILE__), "config/#{fname}"))
end
@@ -31,10 +32,10 @@
end
end
RSpec.configure do |config|
config.mock_with :rspec
- config.color_enabled = true
+ config.color = true
config.formatter = :documentation
if ENV['USE_DISQUS_ACCOUNT']
config.filter_run_excluding local: true
end