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.2.2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.2.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
engineyard-serverside-1.2.0 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.1.3 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.1.2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.1.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.1.0 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.0.2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.0.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-1.0.0 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-0.9.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-0.8.2 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-0.8.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-0.8.0 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
ey-deploy-0.7.1 lib/vendor/dataflow/spec/anonymous_variables_spec.rb
dataflow-0.3.1 spec/anonymous_variables_spec.rb