diff --git a/lib/webrat/core/configuration.rb b/lib/webrat/core/configuration.rb index 73bc7dc..8f8f049 100755 --- a/lib/webrat/core/configuration.rb +++ b/lib/webrat/core/configuration.rb @@ -19,7 +19,6 @@ module Webrat attr_accessor :open_error_files def initialize - self.mode = :rails self.open_error_files = true end diff --git a/spec/webrat/core/configuration_spec.rb b/spec/webrat/core/configuration_spec.rb index 8734e92..fb9af6d 100755 --- a/spec/webrat/core/configuration_spec.rb +++ b/spec/webrat/core/configuration_spec.rb @@ -9,11 +9,6 @@ describe Webrat::Configuration do Webrat.reset_for_test end - it "should default to Rails mode" do - config = Webrat.configuration - config.mode.should == :rails - end - it "should open error files by default" do config = Webrat.configuration config.open_error_files.should == true