Sha256: b62bd4b67d60a8ba70bd91f0ced2e281559fc6a88642625f34d22dd0b1d879f0

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

require 'ronin/code/sql/create'

require 'code/sql/has_fields_clause_examples'

require 'helpers/code'

shared_examples_for "Create" do
  it_should_behave_like "has a fields clause"

  it "should have a temp option" do
    @sql.temp
    @sql.instance_variable_get('@temp').should == true
  end

  it "should have a if_not_exists option" do
    @sql.if_not_exists
    @sql.instance_variable_get('@if_not_exists').should == true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-sql-0.2.1 spec/code/sql/create_examples.rb
ronin-sql-0.2.2 spec/code/sql/create_examples.rb
ronin-sql-0.2.0 spec/code/sql/create_examples.rb