Don't need a default mode

This commit is contained in:
Bryan Helmkamp 2008-11-23 14:40:19 -05:00
parent 1fb3fd07d4
commit 0d205e382b
2 changed files with 0 additions and 6 deletions

View File

@ -19,7 +19,6 @@ module Webrat
attr_accessor :open_error_files attr_accessor :open_error_files
def initialize def initialize
self.mode = :rails
self.open_error_files = true self.open_error_files = true
end end

View File

@ -9,11 +9,6 @@ describe Webrat::Configuration do
Webrat.reset_for_test Webrat.reset_for_test
end end
it "should default to Rails mode" do
config = Webrat.configuration
config.mode.should == :rails
end
it "should open error files by default" do it "should open error files by default" do
config = Webrat.configuration config = Webrat.configuration
config.open_error_files.should == true config.open_error_files.should == true