Skip to content

Releases: crismali/magic_lamp

Fix token error

09 May 20:54
Compare
Choose a tag to compare

Rails 5 support

05 Feb 05:06
Compare
Choose a tag to compare

Raise errors on empty fixtures

03 Dec 04:59
Compare
Choose a tag to compare

Avoid generating fixtures twice when using Sprockets

07 Oct 02:18
Compare
Choose a tag to compare

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

Prevented errors when using `form_for` with a symbol

29 Jun 19:10
Compare
Choose a tag to compare

Prevented errors around passing form_for a symbol (#26)

Loading fixtures via Sprockets directives (without XHR requests)

23 Apr 02:55
Compare
Choose a tag to compare

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.

Smaller packaged gem size

28 Mar 21:41
Compare
Choose a tag to compare
v1.5.2

Version 1.5.2

Built in FactoryGirl reloading

22 Mar 21:17
Compare
Choose a tag to compare

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

Better Linting And Errors

28 Dec 20:22
Compare
Choose a tag to compare

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

Rendering JSON and more

20 Dec 21:44
Compare
Choose a tag to compare

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