Magic Lamp Versions Save

Gets your Rails templates/json into your JavaScript specs.

v1.8.1

8 years ago

See the changelog.

v1.8.0

8 years ago

See the changelog.

v1.7.0

8 years ago

See the changelog.

v1.6.2

8 years ago

PR #30: Avoid generating fixtures twice when using //= require magic_lamp/all_fixtures.

v1.6.1

8 years ago

Prevented errors around passing form_for a symbol (#26)

v1.6.0

9 years ago

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.

v1.5.2

9 years ago

v1.5.1

9 years ago

Magic Lamp now calls FactoryGirl.reload for you to prevent weird autoloader errors when using FactoryGirl in your magic lamp fixtures.

v1.5.0

9 years ago

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.
  • You can now visit /magic_lamp/lint in your browser to lint your fixtures. Not the prettiest styles but definitely useful.
  • there are now sub tasks (magic_lamp:lint:config, magic_lamp:lint:files, magic_lamp:lint:fixtures) which do what you'd expect
  • double rendering in a fixture now raises an error
  • redirect_to now raises an error
  • any error with a status over 400 now triggers a generic error in the JavaScript

v1.4.1

9 years ago

render json: foo now works. Magic Lamp JS now raises errors when getting any response from the server that's over 400.