Sha256: e615e757c53db7dcc666f0d730735461c58fb4c89f7265622264e3f880189aa5
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 Bytes
Contents
module Ajax module RSpec module Extension def integrate_ajax Ajax.enabled = true end def disable_ajax Ajax.enabled = false end def mock_ajax integrate_ajax Ajax.mocked = true end def unmock_ajax disable_ajax Ajax.mocked = false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ajax-1.1.5 | lib/ajax/rspec/extension.rb |
ajax-1.1.4 | lib/ajax/rspec/extension.rb |