Sha256: 1ce17ff728916f8cb79d9d0f79d41abf2911c74a84dbb06927b52ba8b40f4f0b

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

module WithPopup
  module TestHelpers
    module Controller
      def with_popup_reloading_path
        session[:_with_popup] == :close ? nil : session[:_with_popup]
      end

      def with_popup_is_closing?
        session[:_with_popup] == :close
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_popup-0.1.0 lib/with_popup/test_helpers/controller.rb