merb_test_unit 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -0
  2. data/lib/merb_test_unit/merbtasks.rb +11 -11
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -4,6 +4,7 @@ require 'rake/gempackagetask'
4
4
  require "extlib"
5
5
  require 'merb-core/tasks/merb_rake_helper'
6
6
  require "spec/rake/spectask"
7
+ require "#{File.dirname(__FILE__)}" / ".." / "version"
7
8
 
8
9
  ##############################################################################
9
10
  # Package && release
@@ -1,15 +1,15 @@
1
- desc 'Run unit tests'
2
- Rake::TestTask.new('test_unit') do |t|
3
- t.libs << 'test'
4
- t.pattern = 'test/unit/*_test.rb'
5
- t.verbose = true
6
- end
1
+ namespace(:test) do
2
+ Rake::TestTask.new('models') do |t|
3
+ t.libs << 'test'
4
+ t.pattern = 'test/models/*_test.rb'
5
+ t.verbose = true
6
+ end
7
7
 
8
- desc 'Run functional tests'
9
- Rake::TestTask.new('test_functional') do |t|
10
- t.libs << 'test'
11
- t.pattern = 'test/functional/*_test.rb'
12
- t.verbose = true
8
+ Rake::TestTask.new('controllers') do |t|
9
+ t.libs << 'test'
10
+ t.pattern = 'test/controllers/*_test.rb'
11
+ t.verbose = true
12
+ end
13
13
  end
14
14
 
15
15
  desc 'Run all tests'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb_test_unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-14 00:00:00 +03:00
12
+ date: 2008-10-21 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements: []
65
65
 
66
66
  rubyforge_project: merb
67
- rubygems_version: 1.2.0
67
+ rubygems_version: 1.3.0
68
68
  signing_key:
69
69
  specification_version: 2
70
70
  summary: Merb plugin that provides Test::Unit support