spec/warbler/config_spec.rb in warbler-1.3.8 vs spec/warbler/config_spec.rb in warbler-1.4.0.beta1
- old
+ new
@@ -17,11 +17,11 @@
it "has suitable default values" do
config = Warbler::Config.new
config.includes.should be_empty
config.jar_name.size.should > 0
- config.override_gem_home.should be_false
+ config.override_gem_home.should be_true
end
end
context "in a web application" do
run_in_directory 'spec/sample_war'
@@ -37,10 +37,10 @@
config.java_libs.should_not be_empty
config.jar_name.size.should > 0
config.webxml.should be_kind_of(OpenStruct)
config.pathmaps.should be_kind_of(OpenStruct)
config.pathmaps.public_html.should == ["%{public/,}p"]
- config.override_gem_home.should be_false
+ config.override_gem_home.should be_true
end
it "should allow configuration through an initializer block" do
config = Warbler::Config.new do |c|
c.jar_name = "mywar"