Allow routing to fixtures that are in subfolders #36

Merged
merged 1 commit into from Mar 30, 2012

Conversation

Projects
None yet
2 participants
@mordaroso
Contributor

mordaroso commented Mar 22, 2012

I've noticed that rendering fixtures in subfolders doesn't work.

This works:
spec/fixtures/fixture.html.haml

loadFixtures("fixture")

But this fails:
spec/fixtures/subfolder/fixture.html.haml

loadFixtures("subfolder/fixture")

Changing the routing parameter catching fixed the issue.

bradphelan added a commit that referenced this pull request Mar 30, 2012

Merge pull request #36 from mordaroso/master
Allow routing to fixtures that are in subfolders

@bradphelan bradphelan merged commit d1e3681 into bradphelan:master Mar 30, 2012

@bradphelan

This comment has been minimized.

Show comment Hide comment
@bradphelan

bradphelan Mar 30, 2012

Owner

Thanks @mordaroso for the patch. Always appreciated :)

Owner

bradphelan commented Mar 30, 2012

Thanks @mordaroso for the patch. Always appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment