Sha256: c96521462c85bec63dbb2d6561ebb84f83c9481323b509ba1df9b5c320b99b47

Contents?: true

Size: 278 Bytes

Versions: 20

Compression:

Stored size: 278 Bytes

Contents

require 'spec_helper'

describe SQL::Column do
  before do
    @column = SQL::Column.new
  end

  %w{name type not_null default_value primary_key unique}.each do |meth|
    it "should have a ##{meth} attribute" do
      @column.should respond_to(meth.intern)
    end
  end

end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
ardm-migrations-1.3.0 spec/unit/sql/column_spec.rb
ardm-migrations-1.2.1 spec/unit/sql/column_spec.rb
ardm-migrations-1.2.0 spec/unit/sql/column_spec.rb
dm-migrations-1.2.0 spec/unit/sql/column_spec.rb
dm-migrations-1.2.0.rc2 spec/unit/sql/column_spec.rb
dm-migrations-1.2.0.rc1 spec/unit/sql/column_spec.rb
dm-migrations-1.1.0 spec/unit/sql/column_spec.rb
dm-migrations-1.1.0.rc3 spec/unit/sql/column_spec.rb
dm-migrations-1.1.0.rc2 spec/unit/sql/column_spec.rb
dm-migrations-1.1.0.rc1 spec/unit/sql/column_spec.rb
dm-migrations-1.0.2 spec/unit/sql/column_spec.rb
dm-migrations-1.0.1 spec/unit/sql/column_spec.rb
dm-hibernate-migrations-1.0.0 spec/unit/sql/column_spec.rb
dm-migrations-1.0.0 spec/unit/sql/column_spec.rb
dm-migrations-1.0.0.rc3 spec/unit/sql/column_spec.rb
dm-migrations-1.0.0.rc2 spec/unit/sql/column_spec.rb
dm-migrations-1.0.0.rc1 spec/unit/sql/column_spec.rb
dm-migrations-0.10.2 spec/unit/sql/column_spec.rb
dm-migrations-0.10.1 spec/unit/sql/column_spec.rb
dm-migrations-0.10.0 spec/unit/sql/column_spec.rb