Showing the changes to test (1 of 34 files). Show all
Unified · Split
| @@ -124,7 +124,7 @@ class DocsFileStoreTest < MiniTest::Spec · 123 unmodified lines | ||
| 124 | 124 | describe "#each" do |
| 125 | 125 | let :paths do |
| 126 | 126 | paths = [] |
| 127 | − store.each { |path| paths << path.sub(tmp_path, '') } | |
| 127 | + store.each { |path| paths << path.remove(tmp_path) } | |
| 128 | 128 | paths |
| 129 | 129 | end |
| 130 | 130 | |