spec/project_generator_spec.rb in bret-watircraft-0.4.3 vs spec/project_generator_spec.rb in bret-watircraft-0.4.4
- old
+ new
@@ -84,11 +84,11 @@
it "should configure a project for watir, implicitly" do
generate_project
Taza::Settings.stubs(:path).returns(APP_ROOT)
ENV['ENVIRONMENT'] = 'test'
- Taza::Settings.config[:driver].should == :watir
+ Taza::Settings.config[:driver].should == 'watir'
end
it "should allow a site name to be specified" do
generate_project ['--site=site_name']
Taza::Settings.stubs(:path).returns(APP_ROOT)
@@ -98,10 +98,10 @@
it "should allow a browser driver to be specified" do
generate_project ['--driver=nine_iron']
Taza::Settings.stubs(:path).returns(APP_ROOT)
ENV['ENVIRONMENT'] = 'test'
- Taza::Settings.config[:driver].should == :nine_iron
+ Taza::Settings.config[:driver].should == 'nine_iron'
end
it "should generate a script/console" do
generate_project
File.exist?(project_file('script/console')).should be_true