lib/closer.rb in closer-0.3.2 vs lib/closer.rb in closer-0.3.3
- old
+ new
@@ -16,18 +16,8 @@
require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.command_name(ENV['COMMAND_NAME'] || 'Cucumber')
SimpleCov.merge_timeout(Closer.config.merge_timeout)
-
- if defined?(Rails)
- SimpleCov.start 'rails'
- else
- SimpleCov.start
- end
-end
-
-if defined?(Rails)
- require 'closer/rails/engine'
- require 'closer/rails/railtie'
+ SimpleCov.start
end