specs cleanup: move schema & model definitions inline rather than loading from extern...
authorronen barzel <ronen@barzel.org>
Thu, 1 Nov 2012 14:26:39 +0000 (14:26 +0000)
committerronen barzel <ronen@barzel.org>
Thu, 1 Nov 2012 14:26:39 +0000 (14:26 +0000)
commit12114f1065bb485159c91feeb023504138b19e58
tree4e9b78e9689bf4f71ad069259202d65123852412
parentb66029a3a05ec012b70a82bdc7160fb3ad93c813
specs cleanup: move schema & model definitions inline rather than loading from external files.

this has two advantages: easier to know what schema is being tested, and can change the schema for an individual set of examples without worrying about implications on other tests.
12 files changed:
spec/column_definition_spec.rb
spec/column_spec.rb
spec/foreign_key_definition_spec.rb
spec/foreign_key_spec.rb
spec/index_definition_spec.rb
spec/index_spec.rb
spec/migration_spec.rb
spec/models/comment.rb [deleted file]
spec/models/post.rb [deleted file]
spec/models/user.rb [deleted file]
spec/rails3_migration_spec.rb
spec/spec_helper.rb