Sha256: 198daeaa8cda17cbd9f48ec741777f4157c5d2be67746230837c273de22db5a9

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

describe 'Command', ->
  describe '#toString', ->
    it 'it should be able to get string', ->
      command = new Ponytail.Models.Command("rename_table", ":users", ":new_users")
      expect(command.toString()).toBe("rename_table :users, :new_users")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ponytail-0.6.0 spec/javascripts/ponytail/models/command_spec.coffee
ponytail-0.5.0 spec/javascripts/ponytail/models/command_spec.coffee
ponytail-0.4.0 spec/javascripts/ponytail/models/command_spec.coffee