spec/lib/appsignal/rack/rails_instrumentation_spec.rb in appsignal-1.4.0.alpha.2 vs spec/lib/appsignal/rack/rails_instrumentation_spec.rb in appsignal-1.4.0.beta.1
- old
+ new
@@ -1,10 +1,8 @@
-require 'spec_helper'
+if DependencyHelper.rails_present?
+ class MockController
+ end
-class MockController
-end
-
-if defined?(::Rails)
describe Appsignal::Rack::RailsInstrumentation do
before :all do
start_agent
end