README.md in simple_fixture-0.1.0 vs README.md in simple_fixture-0.1.1

- old
+ new

@@ -18,11 +18,11 @@ $ gem install simple_fixture ## Usage -You should have directory `test/simple_fixture` in your project, with structure as below. (You can check file content examples in this gem's test directory) +You should have directory `test/simple_fixture` in your project, with structure as below. You can run `simple-fixture` to generate it. Also check file content examples in this gem's test directory. ``` test ├── simple_fixture │   ├── fixtures @@ -33,10 +33,10 @@ │   └── models.rb ├── your_gem_test.rb └── test_helper.rb ``` -Then call `SimpleFixture.new`, fixtures will be loaded into a new sqlite file in directory `tmp/` of your project, and you can use ActiveRecord to find them, such as `Order.where(...)`. +Then call `SimpleFixture.new`, or just `require 'simple_fixture/load'`, then fixtures will be loaded into a new sqlite file in directory `tmp/` of your project, and you can use ActiveRecord to find them, such as `Order.where(...)`. ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.