This gem adds support for simple fixtures installation to simulator
Rakefile(or use Bundler)
- Place your fixture files into
- There's no step 3!
By default, fixtures are taken from
spec/fixtures/ and are copied to
directory of your application. To customize the behaviour use
It's an Array of Arrays, where each fixture is a pair of file name and destination
directory name (see NSSearchPathDirectory in Cocoa docs).
app.fixtures = [ ['./spec/fixtures/test.db', :NSDocumentDirectory], # notice the Symbol ['./spec/fixtures/stub_cache', :NSCachesDirectory] ]
Note: subdirectories are not [yet] supported. Patches are welcome.