Displaying 2 results from an estimated 2 matches for "resource_test".
Did you mean:
resource_list
2006 Jan 17
0
file_column with both root_path and store_dir
...t a simple path"
assert_match %r{/u/file_column_db/somebodys_account/images},
e.image
end
def store_dir_method
File.join("somebodys_account", "images")
end
This fails with:
1) Failure:
test_absolute_path_outside_rails_root(ResourceTest) [test/unit/
resource_test.rb:254]:
<"/usr/home/ryenski/sites/my_app/somebodys_account/images/tmp/
1137483590.895686.58774/kerb.jpg"> expected to be =~
</\/u\/file_column_db\/somebodys_account\/images/>.
Any ideas would be appreciated!
Thanks,
Ryan
2006 Sep 26
0
Code coverage of a rails plugin
...t -S
rcov --text-report -o
"./vendor/plugins/shared_models/tasks/../test/coverage"
"./vendor/plugins/shared_models/tasks/../test/test_helper.rb"
"./vendor/plugins/shared_models/tasks/../test/shared_models_test.rb"
"./vendor/plugins/shared_models/tasks/../test/unit/resource_test.rb"
Loaded suite /usr/bin/rcov
Started
..
Finished in 0.023935 seconds.
2 tests, 2 assertions, 0 failures, 0 errors
+----------------------------------------------------+-------+-------+--------+
| File | Lines | LOC | COV |
+----------------...