Sha256: e83c12a257a2a86e3e689541e6a3cb5614dbcf8c03975536761b041bb92083d9

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

require 'ronin/code/sql/create_view'

require 'code/sql/create_examples'

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

  it_should_behave_like "Create"

  it "should have a view 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/create_view_spec.rb
ronin-sql-0.2.3 spec/code/sql/create_view_spec.rb
ronin-sql-0.2.2 spec/code/sql/create_view_spec.rb
ronin-sql-0.2.1 spec/code/sql/create_view_spec.rb
ronin-sql-0.2.0 spec/code/sql/create_view_spec.rb