Sha256: a1955d770812ba19625f6d52131d9670c88ae18688c0d5501b7b48880af6520f

Contents?: true

Size: 518 Bytes

Versions: 116

Compression:

Stored size: 518 Bytes

Contents

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

describe 'Using an anonymous variable' do
  it 'works with Variable instances' do
    container = [Dataflow::Variable.new]
    unify container.first, 1337
    container.first.should == 1337
  end

  it 'works with Dataflow.local' do
    container = [Dataflow.local]
    unify container.first, 1337
    container.first.should == 1337
  end

  it 'works with #local' do
    container = [local]
    unify container.first, 1337
    container.first.should == 1337
  end
end

Version data entries

116 entries across 116 versions & 3 rubygems

Version Path
engineyard-serverside-2.0.4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.5 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.rc1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.pre5 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.pre4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.pre3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.pre2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-2.0.0.pre1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.7.0.pre2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre6 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre5 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.6.4.pre lib/vendor/dataflow/spec/anonymous_variables_spec.rb