must-test-unit 0.2.0 → 0.3.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.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/must/test/unit/version.rb +1 -1
- data/must-test-unit.gemspec +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c496fa64c38b9b82743630112687c9ac883d1abb
|
4
|
+
data.tar.gz: c3a86179e7a039a472817cc81a21ec831d2d5c23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7d9a3a9bd502dc94aea1ba6d33427c52f38cff85b26e03de5def4ba83aaefb8728c9e9e6122956ebe47e746e8cdd686560a9818382e6c8b49b680b8ebe519ed
|
7
|
+
data.tar.gz: d286b7ab6e38afaa596107ad7e0d25a21f7e85dbd0ba7e37d76f2cdca889fa1bc1661513a3bc30c2be1ae61f238e1b5f1d64ddf4e3646598654cca18036d07bd
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# require 'must'
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/must/test/unit`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
@@ -22,6 +22,7 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
+
first you'll have to require 'must'
|
25
26
|
Just use this method as you would use any other Test::Unit::TestCase method
|
26
27
|
Example:
|
27
28
|
must 'return not found if user is not found' do
|
data/must-test-unit.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["a7madx7"]
|
10
10
|
spec.email = ["ahmad.hamdi.emara@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{Adds the must method to the Test::Unit::TestCase class}
|
13
|
-
spec.description = %q{As soon as you install this gem, you'll get the much more readable must 'do something' functionality which will translate to test_do_something}
|
12
|
+
spec.summary = %q{Adds the must method to the Test::Unit::TestCase class after you require 'must'}
|
13
|
+
spec.description = %q{As soon as you install this gem, you'll get the much more readable must 'do something' functionality which will translate to test_do_something but you'll have first to require 'must'}
|
14
14
|
spec.homepage = "http://rubygems.org/gems/must-test-unit"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: must-test-unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a7madx7
|
@@ -53,7 +53,8 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
55
|
description: As soon as you install this gem, you'll get the much more readable must
|
56
|
-
'do something' functionality which will translate to test_do_something
|
56
|
+
'do something' functionality which will translate to test_do_something but you'll
|
57
|
+
have first to require 'must'
|
57
58
|
email:
|
58
59
|
- ahmad.hamdi.emara@gmail.com
|
59
60
|
executables: []
|
@@ -95,5 +96,6 @@ rubyforge_project:
|
|
95
96
|
rubygems_version: 2.5.1
|
96
97
|
signing_key:
|
97
98
|
specification_version: 4
|
98
|
-
summary: Adds the must method to the Test::Unit::TestCase class
|
99
|
+
summary: Adds the must method to the Test::Unit::TestCase class after you require
|
100
|
+
'must'
|
99
101
|
test_files: []
|