[DRE-commits] [cucumber] 11/11: force loading json before running the specs, to ensure there is a to_json method

Cédric Boutillier boutil at alioth.debian.org
Thu Aug 15 16:41:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository cucumber.

commit 4d6cc7e4c032f45474f87c068a944be865542c6c
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Aug 15 18:34:01 2013 +0200

    force loading json before running the specs, to ensure there is a to_json method
---
 debian/ruby-tests.rake |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..e910bc5 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -2,6 +2,7 @@ require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new(:spec) do |spec|
   spec.pattern      = './spec/**/*_spec.rb'
+  spec.rspec_opts = "-r json"
 end
 
 task :default => :spec

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/cucumber.git



More information about the Pkg-ruby-extras-commits mailing list