./spec/animoto/rendering_manifest_spec.rb in animoto-0.0.0.alpha1 vs ./spec/animoto/rendering_manifest_spec.rb in animoto-0.0.0.alpha2

- old
+ new

@@ -59,21 +59,21 @@ it "should have a 'storyboard_url' key in the manifest" do manifest.to_hash['rendering_job']['rendering_manifest'].should have_key('storyboard_url') manifest.to_hash['rendering_job']['rendering_manifest']['storyboard_url'].should == @storyboard.url end - it "should have a 'rendering_profile' object in the manifest" do - manifest.to_hash['rendering_job']['rendering_manifest'].should have_key('rendering_profile') - manifest.to_hash['rendering_job']['rendering_manifest']['rendering_profile'].should be_a(Hash) + it "should have a 'rendering_parameters' object in the manifest" do + manifest.to_hash['rendering_job']['rendering_manifest'].should have_key('rendering_parameters') + manifest.to_hash['rendering_job']['rendering_manifest']['rendering_parameters'].should be_a(Hash) end - describe "rendering profile" do + describe "rendering parameters" do before do - @profile = manifest.to_hash['rendering_job']['rendering_manifest']['rendering_profile'] + @profile = manifest.to_hash['rendering_job']['rendering_manifest']['rendering_parameters'] end - it "should have a 'vertical_resolution' key" do - @profile['vertical_resolution'].should == manifest.resolution + it "should have a 'resolution' key" do + @profile['resolution'].should == manifest.resolution end it "should have a 'framerate' key" do @profile['framerate'].should == manifest.framerate end \ No newline at end of file