Gets your Rails templates/json into your JavaScript specs.
See the changelog.
See the changelog.
See the changelog.
PR #30: Avoid generating fixtures twice when using //= require magic_lamp/all_fixtures
.
Prevented errors around passing form_for
a symbol (#26)
Now you can load Magic Lamp fixtures in your specs like so:
//= require magic_lamp
//= require magic_lamp/all_fixtures
This allows support for Jasmine Rails, Jasmine, and Konacha in addition to the existing support for Teaspoon.
Magic Lamp now calls FactoryGirl.reload
for you to prevent weird autoloader errors when using FactoryGirl in your magic lamp fixtures.
A bunch of stuff has been improved here:
rake magic_lamp:lint
is now a million times better than it was. It now tells you which fixture is broken and all kinds of information about it and the error./magic_lamp/lint
in your browser to lint your fixtures. Not the prettiest styles but definitely useful.magic_lamp:lint:config
, magic_lamp:lint:files
, magic_lamp:lint:fixtures
) which do what you'd expectredirect_to
now raises an errorrender json: foo
now works. Magic Lamp JS now raises errors when getting any response from the server that's over 400.