Sha256: 55c48bd4ce804c3c869fc6bf29caab538f5b29e2d514434ea313eb443ad051ee

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 Bytes

Contents

require 'spec_helper'

module InfinityTest
  describe Environment do
    include Environment
    describe '#environments' do
      it "should raise a exception if not passed a block" do
        expect { environments }.should raise_exception
      end

      it "should run in the scope of RVM environment" do
        pending
        expect {
          environments do |environment, ruby_version|
             environment.should be_instance_of(RVM::Environment)
          end
        }.to_not raise_exception
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
infinity_test-1.0.3 spec/infinity_test/environment_spec.rb
infinity_test-1.0.2 spec/infinity_test/environment_spec.rb
infinity_test-1.0.1 spec/infinity_test/environment_spec.rb
infinity_test-1.0.0 spec/infinity_test/environment_spec.rb