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-1.5.28.pre.timestamps lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre12 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre11 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre10 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre9 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre8 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre7 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre6 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre5 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.28.pre1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.27 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.27.pre4 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.27.pre3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.27.pre2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.27.pre lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.5.26 lib/vendor/dataflow/spec/anonymous_variables_spec.rb