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-2.0.4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.5 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.rc1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.pre5 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.pre4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.pre3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.pre2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-2.0.0.pre1 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.7.0.pre2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre6 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre5 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre4 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre3 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre2 lib/vendor/dataflow/spec/inspect_spec.rb
engineyard-serverside-1.6.4.pre lib/vendor/dataflow/spec/inspect_spec.rb