spec/javascripts/ponytail/models/create_command_spec.js in ponytail-0.3.0 vs spec/javascripts/ponytail/models/create_command_spec.js in ponytail-0.4.0
- old
+ new
@@ -1,9 +1,8 @@
describe("CreateTableCommand", function() {
describe("#toString", function() {
it("it should be able to get string", function() {
var column = buildModel({type: 'string', name: 'name'});
- console.log(column.get("type"));
var command = new Ponytail.Models.CreateTableCommand('users', [column]);
var expected = [
"create_table :users do |t|",
" t.string :name",
" t.timestamps",