benglerpebbles/petroglyph — Issue #10: Partial blows up.
Author: kytrinyx
Created: 2012-03-07 12:41:05+00:00
State: open

From @robert-hromej:

spec:

```ruby
it "finds the sub partial in partial" do
scope = Petroglyph::Scope.new

scope.file = "spec/fixtures/views/some_template.pg"

scope.node :partial do
partial :partial_with_sub_partial
end

scope.value.should eq({:partial => {:thing => 'stuff'}})
end
```

partial_with_sub_partial.pg:

```ruby
partial :the_partial, :thing => 'stuff'
```