Sha256: a3e9fe54c3a4cb26b547a5b9c1445525731bf3d39db20758f2dc33077a120c44

Contents?: true

Size: 426 Bytes

Versions: 117

Compression:

Stored size: 426 Bytes

Contents

require "#{File.dirname(__FILE__)}/spec_helper"

describe "An unbound variable" do
  it "should be inspectable for debugging purposes" do
    local do |unbound|
      unbound.inspect.should =~ /#<Dataflow::Variable:[0-9]+ unbound>/
    end
  end
end

describe "An bound variable" do
  it "should proxy inspect" do
    local do |bound|
      bound.inspect
      unify bound, "str"
      bound.should == "str"
    end
  end
end

Version data entries

117 entries across 117 versions & 3 rubygems

Version Path
engineyard-serverside-1.6.3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.35.pre.2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.35.pre.1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.33 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.32 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.0.pre5 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.30 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.0.pre4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.0.pre3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.0.pre2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.0.pre lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre.timestamps2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.29.pre.timestamps lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.28.pre.timestamps4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.28.pre.timestamps3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.28.pre.timestamps2 lib/vendor/dataflow/spec/inspect_spec.rb