Sha256: 6a403a402290d308b6ea1da5d390773d03fa39a09a10215858e5eda49abd96be

Contents?: true

Size: 450 Bytes

Versions: 33

Compression:

Stored size: 450 Bytes

Contents

require "spec_helper"

describe "active_metadata.yml" do

  context "given the active_metadata.yml parsed" do

    before do
      @envs = ['test','development']
      @config = YAML.load(File.read("config/active_metadata.yml"))
    end

    it "should have a streamables config" do
      test_envs{|env| @config[env]['streamables'].should_not be_nil}
    end


  end

  def test_envs &block
    @envs.each do |env|
      yield env
    end
  end

end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
active_metadata-0.7.3 spec/config/active_metadata_yml_spec.rb
active_metadata-0.7.2 spec/config/active_metadata_yml_spec.rb
active_metadata-0.7.1 spec/config/active_metadata_yml_spec.rb
active_metadata-0.7.0 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.9 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.7 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.6 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.5 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.4 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.3 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.2 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.1 spec/config/active_metadata_yml_spec.rb
active_metadata-0.6.0 spec/active_metadata_yml.rb