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
|
attr_accessor :open_error_files
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
self.mode = :rails
|
|
||||||
self.open_error_files = true
|
self.open_error_files = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user