Skip to content

Commit

Permalink
Adding some config to the spec running
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Jan 9, 2010
1 parent 17865a4 commit 98e9025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ begin
gem.homepage = "http://github.com/roman/warden_oauth"
gem.authors = ["Roman Gonzalez"]
gem.rubyforge_project = "warden_oauth"
gem.add_dependency('warden')
gem.add_dependency('warden', ">= 0.8.1")
gem.add_dependency('oauth')
gem.add_development_dependency("rack-test")
gem.add_development_dependency("fakeweb")
Expand All @@ -29,8 +29,10 @@ end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
root = File.dirname(__FILE__)
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
spec.spec_opts = ['--options', "#{root}/spec/spec.opts"]
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
Expand Down
5 changes: 5 additions & 0 deletions spec/spec.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--colour
--format specdoc
--loadby mtime
--reverse

0 comments on commit 98e9025

Please sign in to comment.