Module: Bug719::ImagesHelper

Defined in:
lib/vendor/plugins/rspec-rails/spec/spec/rails/example/helper_example_group_spec.rb

Overview

see rspec.lighthouseapp.com/projects/5645/tickets/719 FIXME - helper and example provided in ticket. The example did fail initially, so running it now shows that the bug is fixed, but this doesn’t serve as a good internal example.

Instance Method Summary collapse

Instance Method Details

#hide_images_buttonObject



214
215
216
217
218
219
220
221
# File 'lib/vendor/plugins/rspec-rails/spec/spec/rails/example/helper_example_group_spec.rb', line 214

def hide_images_button
   :div, :class => :hide_images_button do
    button_to_function "Hide Images", :id => :hide_images_button do |page|
      page[:more_images_button].toggle
      page[:image_browser].toggle
    end
  end
end