Sha256: 82117c74a0d81d9a65065a68a9d3a784e6b713c1bd5d85b3e79852ca48f55589

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

require_relative '../../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 "has a ##{meth} attribute" do
      expect(@column).to respond_to(meth.intern)
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sbf-dm-migrations-1.4.0 spec/unit/sql/column_spec.rb
sbf-dm-migrations-1.4.0.beta.1 spec/unit/sql/column_spec.rb
sbf-dm-migrations-1.3.0 spec/unit/sql/column_spec.rb
sbf-dm-migrations-1.3.0.beta spec/unit/sql/column_spec.rb