spec/spec_helper.rb in with_model-0.1.1 vs spec/spec_helper.rb in with_model-0.1.2
- old
+ new
@@ -14,5 +14,8 @@
end
# WithModel requires ActiveRecord::Base.connection to be established.
# If ActiveRecord already has a connection, as in a Rails app, this is unnecessary.
ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ":memory:")
+
+# For readme_spec.rb
+module SomeModule; end
\ No newline at end of file