Sha256: 82a1445ec8341280c39a5805b7f0f2a30f1cc4ba8307c095a007a6f0c11ee9ba

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

require "spec_helper"

describe "memory leak" do
  context "when calling Model#find twice" do
    before do
      @model = Model.new
      @model.statements.create(statement_attributes)
    end

    it "should not occur" do
      
    end
  end

  private

  def statement_attributes
    {
      :subject => URI.parse("http://example.com/subject"),
      :predicate => URI.parse("http://example.com/predicate"),
      :object => URI.parse("object!")
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redlander-0.3.2 spec/integration/memory_leak_spec.rb~
redlander-0.3.1 spec/integration/memory_leak_spec.rb~