Sha256: 5f2d220dc7afddefd9d815f59a9644a78a00ba30ff9948c004307f724d3b87d2
Contents?: true
Size: 411 Bytes
Versions: 8
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' describe Mashery::QueryBuilder do it "should build a simple query" do builder = Mashery::QueryBuilder.new builder.from("members").to_s.should == "SELECT * FROM members" end it "should build a query with pagination" do builder = Mashery::QueryBuilder.new builder.from("members").page(25).items(100).to_s.should == "SELECT * FROM members PAGE 25 ITEMS 100" end end
Version data entries
8 entries across 8 versions & 1 rubygems