testem 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +8 -3
- data/lib/testem.rb +1 -1
- data/testem.gemspec +1 -4
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -2,12 +2,17 @@
|
|
2
2
|
|
3
3
|
Often used aliases for MiniTest::Spec.
|
4
4
|
|
5
|
-
Aliases often used MiniTest::Spec hooks to Rails-like hooks.
|
6
|
-
|
7
5
|
Gem[https://rubygems.org/gems/testem] |
|
8
6
|
Source[https://github.com/neopoly/testem] |
|
9
7
|
Documentation[http://rubydoc.info/github/neopoly/testem/master/file/README.rdoc]
|
10
8
|
|
9
|
+
Aliases often used MiniTest::Spec hooks to Rails-like hooks.
|
10
|
+
|
11
|
+
* +context+ is aliased to +describe+
|
12
|
+
* +it+ is aliased to +it+
|
13
|
+
* +setup+ is aliased to +before+
|
14
|
+
* +teardown+ is aliased to +after+
|
15
|
+
|
11
16
|
== Installation
|
12
17
|
|
13
18
|
Add this line to your application's Gemfile:
|
@@ -51,7 +56,7 @@ Or install it yourself as:
|
|
51
56
|
|
52
57
|
== Release
|
53
58
|
|
54
|
-
edit lib/testem.rb
|
59
|
+
edit lib/testem.rb testem.gemspec
|
55
60
|
bundle exec rake release
|
56
61
|
|
57
62
|
== Contributing
|
data/lib/testem.rb
CHANGED
data/testem.gemspec
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'testem'
|
5
2
|
|
6
3
|
Gem::Specification.new do |gem|
|
7
4
|
gem.name = "testem"
|
8
|
-
gem.version =
|
5
|
+
gem.version = "0.1.0"
|
9
6
|
gem.authors = ["Peter Suschlik"]
|
10
7
|
gem.email = ["ps@neopoly.de"]
|
11
8
|
gem.description = %q{Often used aliases for MiniTest::Spec.}
|