Sha256: f7c55f1adfe639573ca1baabe121b344d01a7695b021690eff4ab73c9a8c901e

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'

describe "cql" do

  describe 'repo' do
    it 'should not change between queries' do

      repo = CQL::Repository.new("#{@feature_fixtures_directory}/got")

      before_dump = Marshal.dump(repo)

      repo.query do
        select name
        from scenarios
      end

      after_dump = Marshal.dump(repo)


      expect(before_dump).to eq(after_dump)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cql-1.2.0 spec/multiple_queries_spec.rb
cql-1.1.0 spec/multiple_queries_spec.rb
cql-1.0.1 spec/multiple_queries_spec.rb
cql-1.0.0 spec/multiple_queries_spec.rb