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.5.25 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.24 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.21 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.20 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.19 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.19.pre lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.17 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.16 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.15 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.13 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.13.servicespike lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.12 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.10 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.9 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.6 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.5.0 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.4.16 lib/vendor/dataflow/spec/inspect_spec.rb