README.markdown in sham-0.0.4 vs README.markdown in sham-0.1.0
- old
+ new
@@ -18,10 +18,10 @@
end
To enable Sham in a particular environment, add the following to your environment.rb or test.rb file:
config.after_initialize do
- Sham.activate!
+ Sham::Config.activate!
end
You can now "sham" your models and pass additional attributes at creation:
User.sham!
\ No newline at end of file