Sha256: 6a60d3f97807ea9ce7b75e5f570f26ccf763fdc21c981e0f3396b6b61fe05425

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

require 'ronin/code/sql/drop_view'

require 'code/sql/drop_examples'

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

  it_should_behave_like "Drop"

  it "should have a table option" do
    @sql.view :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_view_spec.rb
ronin-sql-0.2.3 spec/code/sql/drop_view_spec.rb
ronin-sql-0.2.1 spec/code/sql/drop_view_spec.rb
ronin-sql-0.2.2 spec/code/sql/drop_view_spec.rb
ronin-sql-0.2.0 spec/code/sql/drop_view_spec.rb