Revision c06f1783
Added by Thomas McKay over 6 years ago
test/resources/settings_test.rb | ||
---|---|---|
10 | 10 |
stdout,stderr = capture { |
11 | 11 |
hammer.run(%W{csv settings --help}) |
12 | 12 |
} |
13 |
assert_equal stderr, ''
|
|
13 |
assert_equal '', stderr
|
|
14 | 14 |
assert_equal stdout, <<-HELP |
15 | 15 |
Usage: |
16 | 16 |
csv settings [OPTIONS] |
... | ... | |
46 | 46 |
} |
47 | 47 |
stderr.must_equal '' |
48 | 48 |
lines = stdout.split("\n") |
49 |
assert_equal lines[0], "Updating setting 'idle_timeout'...done"
|
|
49 |
assert_equal "Updating setting 'idle_timeout'...done", lines[0]
|
|
50 | 50 |
file.unlink |
51 | 51 |
stop_vcr |
52 | 52 |
end |
Also available in: Unified diff
fixes #15743 - import and export of subscriptions one-per-line