spec/integration/metrics_spec.rb in influxdb-rails-0.4.999 vs spec/integration/metrics_spec.rb in influxdb-rails-1.0.0.beta1

- old
+ new

@@ -1,12 +1,11 @@ require File.expand_path(File.dirname(__FILE__) + "/integration_helper") -RSpec.describe "collecting metrics through ActiveSupport::Notifications", :type => :request do +RSpec.describe "collecting metrics through ActiveSupport::Notifications", type: :request do before do InfluxDB::Rails.configure do |config| - config.ignored_environments = %w{development} - config.instrumentation_enabled = true + config.ignored_environments = %w[development] end end describe "in a normal request" do it "should attempt to handle ActionController metrics" do @@ -18,6 +17,5 @@ expect(InfluxDB::Rails.client).to receive(:write_point).exactly(3).times get "/widgets" end end end -