spec/units/scrooge/tracker/app_spec.rb in methodmissing-scrooge-1.0.1 vs spec/units/scrooge/tracker/app_spec.rb in methodmissing-scrooge-1.0.2

- old
+ new

@@ -53,10 +53,14 @@ @app.inspect().should match( /GET/ ) @app.inspect().should match( /products/ ) end it "should be able to determine if a resource's been seen before" do - @app << @resource @app.resource_for( @resource ).should eql( @resource ) + end + + it "should be able to find a resource" do + @app << @resource + @app.resource( @resource ).should eql( @resource ) end end \ No newline at end of file