Sha256: 561aa0ece90288bd27217380949674c5ed4a03d95fb167eff37c499cd529f848

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

= JavascriptEraser

Rack middleware to simulate what happens when a user disables Javascript. The purpose is to help with automated testing for unobtrusive Javascript.

= Usage

In your Gemfile (preferably the test group):

  gem 'javascript_eraser'
  
Then include the middleware in your stack. It should be towards the top. If you are using Rails, in your config/environments/test.rb file:

  config.middleware.insert_before ActionDispatch::Static, JavascriptEraser
  
You may have to require the gem first.

== Acknowledgement

All praise and thanks are due to Allah.

== Copyright

Copyright (c) 2010 Tyler Boyd. See LICENSE for details.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
javascript_eraser-1.0.2 README.rdoc
javascript_eraser-1.0.1 README.rdoc
javascript_eraser-1.0.0 README.rdoc