lib/polonium.rb in polonium-0.2.1 vs lib/polonium.rb in polonium-0.2.2

- old
+ new

@@ -28,8 +28,8 @@ require "polonium/tasks/selenium_test_task" require 'webrick_server' if self.class.const_defined? :RAILS_ROOT require "polonium/adapters/test_unit" -if Object.const_defined?(:Spec) +if Object.const_defined?(:Spec) && !(Object.const_defined?(:IGNORE_RSPEC) && IGNORE_RSPEC) require "polonium/adapters/rspec" end