Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix failing test not noticed due to dirty environment

  • Loading branch information...
commit d816c4e20028517bfc97366d16e3e59e356b5b4e 1 parent fe3c380
@nicksieger authored
Showing with 6 additions and 2 deletions.
  1. +1 −0  Gemfile
  2. +4 −0 Gemfile.lock
  3. +0 −2  Rakefile
  4. +1 −0  spec/spec_helper.rb
View
1  Gemfile
@@ -6,6 +6,7 @@ gem "jruby-jars"
gem "jruby-rack"
group :development do
+ gem "jruby-openssl"
gem "rspec", "~> 1.3"
gem "diff-lcs"
gem "rcov", ">= 0.9.8"
View
4 Gemfile.lock
@@ -1,10 +1,13 @@
GEM
remote: http://rubygems.org/
specs:
+ bouncy-castle-java (1.5.0145.2)
diff-lcs (1.1.2)
hoe (2.9.1)
rake (>= 0.8.7)
jruby-jars (1.6.0)
+ jruby-openssl (0.7.1)
+ bouncy-castle-java
jruby-rack (1.0.8)
json_pure (1.4.6)
rake (0.8.7)
@@ -24,6 +27,7 @@ DEPENDENCIES
diff-lcs
hoe (>= 2.3.2)
jruby-jars
+ jruby-openssl
jruby-rack
rake (>= 0.8.7)
rcov (>= 0.9.8)
View
2  Rakefile
@@ -40,8 +40,6 @@ begin
hoe.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
hoe.spec.rdoc_options += ["-SHN", "-f", "darkfish"]
- p Hoe.plugins
-
task :gemspec do
File.open("#{hoe.name}.gemspec", "w") {|f| f << hoe.spec.to_ruby }
end
View
1  spec/spec_helper.rb
@@ -38,6 +38,7 @@ def run_in_directory(dir)
before :each do
(@pwd ||= []) << Dir.getwd
Dir.chdir(@pwd.first) # let directory always be relative to project root
+ mkdir_p(dir, :verbose => false)
Dir.chdir(dir)
end
Please sign in to comment.
Something went wrong with that request. Please try again.