Sha256: 80e18e7c2a38296ee35127a222654fbef71d1f333bc5b4f002e9a8fb10d881c3

Contents?: true

Size: 318 Bytes

Versions: 5

Compression:

Stored size: 318 Bytes

Contents

require 'ronin/code/sql/drop_index'

require 'code/sql/drop_examples'

describe DropIndex do
  before(:each) do
    @sql = DropIndex.new(common_dialect)
  end

  it_should_behave_like "Drop"

  it "should have a table option" do
    @sql.index :users
    @sql.instance_variable_get('@name').should == :users
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ronin-sql-0.2.4 spec/code/sql/drop_index_spec.rb
ronin-sql-0.2.3 spec/code/sql/drop_index_spec.rb
ronin-sql-0.2.2 spec/code/sql/drop_index_spec.rb
ronin-sql-0.2.1 spec/code/sql/drop_index_spec.rb
ronin-sql-0.2.0 spec/code/sql/drop_index_spec.rb