spec/warbler/config_spec.rb in warbler-1.4.3 vs spec/warbler/config_spec.rb in warbler-1.4.4
- old
+ new
@@ -21,11 +21,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_true
+ config.override_gem_home.should be true
end
end
context "in a web application" do
run_in_directory 'spec/sample_war'
@@ -41,10 +41,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_true
+ 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"