twtest 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twtest/testcase.rb +2 -2
- data/lib/twtest/version.rb +1 -1
- data/test/unit/test_testcase.rb +3 -3
- metadata +2 -2
data/lib/twtest/testcase.rb
CHANGED
data/lib/twtest/version.rb
CHANGED
data/test/unit/test_testcase.rb
CHANGED
@@ -6,7 +6,7 @@ class TestTestCase < TaskWarrior::Test::Integration::TestCase
|
|
6
6
|
# assert_empty(export_tasks)
|
7
7
|
|
8
8
|
# Use a placeholder as workaround
|
9
|
-
|
9
|
+
task("add placeholder")
|
10
10
|
assert_equal(1, export_tasks.size)
|
11
11
|
end
|
12
12
|
|
@@ -19,8 +19,8 @@ class TestTestCase < TaskWarrior::Test::Integration::TestCase
|
|
19
19
|
input_file.close
|
20
20
|
|
21
21
|
# TODO Replace temp file with in-process version
|
22
|
-
#
|
23
|
-
|
22
|
+
# task("import <(echo '#{contents.to_json}')")
|
23
|
+
task("import #{input_file.path}")
|
24
24
|
|
25
25
|
tasks = export_tasks
|
26
26
|
assert_equal(1, tasks.size)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Provides helpers for writing TaskWarrior integration tests in Ruby
|
15
15
|
email:
|