Don't need a default mode
This commit is contained in:
parent
1fb3fd07d4
commit
0d205e382b
|
@ -19,7 +19,6 @@ module Webrat
|
|||
attr_accessor :open_error_files
|
||||
|
||||
def initialize
|
||||
self.mode = :rails
|
||||
self.open_error_files = true
|
||||
end
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue