Eero Saynatkari
492d628994
File.open fails given nonexistent path or path to a dir. Closes #82 .
...
* Removed unnecessary paths from existing tests (they don't
need to exercise paths).
* Added tests for nonexistent, existing and trying to open
a directory.
2011-09-05 17:25:18 -04:00
Scott Taylor
8355d15ec2
activate! & deactivate! state properly in tests (which allows easy replication of bug reported in #24 )
2009-12-02 03:18:09 -05:00
Scott Taylor
c2ccf482b9
Extract common requires in test files to test/test_helper.rb Run individual spec files with RUBYLIB=test ruby test/<test-file> (Thanks mislav)
2009-12-02 03:18:09 -05:00
Scott Taylor
2877f7d4c1
Cleanup trailing whitespace
2009-11-08 01:04:16 -05:00
jameswilding
7444ef50b3
Fix that FakeFS method wouldn't call ::FakeFS.deactivate! when block raised an exception
2009-10-19 21:58:14 +08:00
msassak
0da41d92a7
Return result of yield from FakeFS block
...
Signed-off-by: Chris Wanstrath <chris@ozmm.org>
2009-09-23 18:46:58 +08:00
Pat Nakajima
3f4de75254
Added fakefs/safe which is a bit less intrusive.
2009-07-22 04:41:18 -04:00