starscope 1.0.4 → 1.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.
@@ -1,33 +0,0 @@
1
- require File.expand_path('../../test_helper', __FILE__)
2
-
3
- class TestStarScope < Minitest::Test
4
-
5
- EXEC = 'bundle exec bin/starscope --no-read --no-write --no-progress ./test/files/'
6
-
7
- def test_help
8
- `#{EXEC} -h`.each_line do |line|
9
- assert line.length <= 80
10
- end
11
- end
12
-
13
- def test_version
14
- assert `#{EXEC} -v`.chomp == StarScope::VERSION
15
- end
16
-
17
- def test_summary
18
- lines = `#{EXEC} -s`.lines
19
- end
20
-
21
- def test_dump
22
- lines = `#{EXEC} -d requires`.lines.to_a
23
- assert lines[1].split.first == 'date'
24
- assert lines[2].split.first == 'zlib'
25
- end
26
-
27
- def test_query
28
- `#{EXEC} -q calls,add_file`.each_line do |line|
29
- assert line.split[0..2] == ["StarScope", "DB", "add_file"]
30
- end
31
- end
32
-
33
- end