<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>spec/limelight/specs/spec_helper_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@ require 'spec'
 require File.expand_path(File.dirname(__FILE__) + &quot;/../../init&quot;)
 require 'limelight/scene'
 require 'limelight/producer'
+require 'limelight/string'
 
 module Limelight
   module Specs
@@ -28,6 +29,18 @@ module Limelight
         @scene = producer.open_scene(@scene_name.to_s, stage)
       end
 
+      def load_player
+        @scene = Limelight::Scene.new
+        @player = Limelight::Prop.new
+        @scene &lt;&lt; @player
+        @player.extend(eval(@player_name.to_s.camalized))
+      end
+
+      def player
+        load_player unless @player
+        return @player
+      end
+
       def scene
         open_scene unless @scene
         return @scene
@@ -41,7 +54,7 @@ module Spec
   module Example
     class ExampleGroup
 
-      def self.uses_scene(scene_name, options = {})
+      def self.uses_scene(scene_name, optixons = {})
         include Limelight::Specs::SpecHelper
 
         before(:each) do
@@ -51,6 +64,15 @@ module Spec
         end
       end
 
+      def self.uses_player(player_name)
+        include Limelight::Specs::SpecHelper
+
+        before(:each) do
+          @player_name = player_name
+          load_player
+        end
+      end
+
       after(:suite) do
         unless Limelight::Specs.producer.nil?
           Limelight::Specs.producer.theater.stages.each do |stage|</diff>
      <filename>lib/limelight/specs/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,4 +2,11 @@ require 'rubygems'
 require 'spec'
 require 'limelight/specs/spec_helper'
 
-$PRODUCTION_PATH = File.expand_path(File.dirname(__FILE__) + &quot;/../&quot;)
\ No newline at end of file
+# Set the Gem home to the frozen gems
+$PRODUCTION_PATH = File.expand_path(File.dirname(__FILE__) + &quot;/../&quot;)
+ENV['GEM_HOME'] = File.join($PRODUCTION_PATH , &quot;__resources&quot;)
+Gem.clear_paths
+
+Dir.glob(File.join(&quot;__resources&quot;, &quot;gems&quot;, &quot;**&quot;, &quot;lib&quot;)).each do |dir|
+  $: &lt;&lt; dir
+end</diff>
      <filename>lib/limelight/templates/sources/production/spec/spec_helper.rb.template</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2af2560791fa6ca12ac2e77b1454a25e870043f9</id>
    </parent>
  </parents>
  <author>
    <name>Eric Smith</name>
    <email>eric@8thlight.com</email>
  </author>
  <url>http://github.com/slagyr/limelight/commit/340349148fc34c8644de1426514c014839778fb5</url>
  <id>340349148fc34c8644de1426514c014839778fb5</id>
  <committed-date>2009-10-01T06:26:08-07:00</committed-date>
  <authored-date>2009-10-01T06:26:08-07:00</authored-date>
  <message>Added a new spec helper method - uses_player</message>
  <tree>a5067eeb0933903359c436ab6875832721d59bd9</tree>
  <committer>
    <name>Eric Smith</name>
    <email>eric@8thlight.com</email>
  </committer>
</commit>
