filet 0.2.1 → 0.2.2
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/.gitignore +1 -0
- data/Readme.md +1 -1
- data/lib/filet/test_case.rb +1 -1
- data/lib/filet/version.rb +1 -1
- data/test/filet/test_case_test.rb +6 -0
- metadata +4 -4
data/.gitignore
CHANGED
data/Readme.md
CHANGED
data/lib/filet/test_case.rb
CHANGED
data/lib/filet/version.rb
CHANGED
@@ -9,6 +9,12 @@ module Filet
|
|
9
9
|
assert_equal "feature description lorem ipsum", klass.description
|
10
10
|
end
|
11
11
|
|
12
|
+
def test_feature_without_a_description
|
13
|
+
klass = feature("feature name")
|
14
|
+
assert_equal Filet::TestCase, klass.superclass
|
15
|
+
assert_nil klass.description
|
16
|
+
end
|
17
|
+
|
12
18
|
def test_context_returns_feature_subclass
|
13
19
|
klass = nil
|
14
20
|
feature("feature name", "description") do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jorge Dias
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-09-13 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|