Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

made rcov work

  • Loading branch information...
commit 1ce81170bb4b874ae30276ac8d06cdad25f8fdcb 1 parent b7d1ee1
Tianyi Cui authored
5 Gemfile
... ... @@ -1,6 +1,9 @@
1 1 source :rubygems
  2 +
2 3 gem 'sqlite3-ruby', '>=1.3.1', :require => 'sqlite3'
3 4 gem 'treetop', '>=1.4.8'
4 5 gem 'rake', '>=0.8.7', :group => :development
5   -gem 'rspec', '~>2.0', :group => [:development, :test]
6 6 gem 'rcov', '>=0.9.8', :group => [:development, :test]
  7 +gem 'rspec', '>=2.0.1', :group => [:development, :test]
  8 +
  9 +# vim: filetype=ruby
2  Gemfile.lock
@@ -25,6 +25,6 @@ PLATFORMS
25 25 DEPENDENCIES
26 26 rake (>= 0.8.7)
27 27 rcov (>= 0.9.8)
28   - rspec (~> 2.0)
  28 + rspec (>= 2.0.1)
29 29 sqlite3-ruby (>= 1.3.1)
30 30 treetop (>= 1.4.8)
1  Rakefile
@@ -6,6 +6,7 @@ RSpec::Core::RakeTask.new('rspec')
6 6 desc "Run all specs with rcov"
7 7 RSpec::Core::RakeTask.new('rcov') do |t|
8 8 t.rcov = true
  9 + t.rcov_opts = %|-Ilib --exclude "gems/*"|
9 10 end
10 11
11 12 task :default => :rspec
1  spec/catalog_spec.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'rspec'
1 2 require 'minisql'
2 3 require 'spec_helper_methods'
3 4

0 comments on commit 1ce8117

Please sign in to comment.
Something went wrong with that request. Please try again.