Sha256: 0047b37a08f43186b06e6d7eef0968aa7a7bb9b705cb6ac6bae30a33ad8be8fd

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 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.should be_temp
  end

  it "should have a if_not_exists option" do
    @sql.if_not_exists!
    @sql.should be_if_not_exists
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ronin-sql-0.2.4 spec/code/sql/create_examples.rb
ronin-sql-0.2.3 spec/code/sql/create_examples.rb