Sha256: 5ea0ee13fbb509620ebb1362e0ed1b4fdf68fb633e0135ff85bf9aee60219338

Contents?: true

Size: 270 Bytes

Versions: 61

Compression:

Stored size: 270 Bytes

Contents

module RSpec
  module Integration
    module CapybaraSessions
      
      def in_new_session(&block)
        yield new_session
      end
      
      def new_session
        Capybara::Session.new(Capybara.current_driver, Capybara.app)
      end
      
    end
  end
end

Version data entries

61 entries across 61 versions & 3 rubygems

Version Path
ros-apartment-2.3.0 spec/support/capybara_sessions.rb
ros-apartment-2.3.0.alpha2 spec/support/capybara_sessions.rb
ros-apartment-2.3.0.alpha1 spec/support/capybara_sessions.rb
apartment-2.2.1 spec/support/capybara_sessions.rb
apartment-2.2.0 spec/support/capybara_sessions.rb
apartment-2.1.0 spec/support/capybara_sessions.rb
apartment-2.0.0 spec/support/capybara_sessions.rb
apartment-1.2.0 spec/support/capybara_sessions.rb
apartment-1.1.0 spec/support/capybara_sessions.rb
apartment-1.0.2 spec/support/capybara_sessions.rb
apartment-1.0.1 spec/support/capybara_sessions.rb
apartment-1.0.0 spec/support/capybara_sessions.rb
apartment-0.26.1 spec/support/capybara_sessions.rb
apartment-0.26.0 spec/support/capybara_sessions.rb
apartment-0.25.2 spec/support/capybara_sessions.rb
apartment-0.25.1 spec/support/capybara_sessions.rb
apartment-0.25.0 spec/support/capybara_sessions.rb
apartment-0.24.3 spec/support/capybara_sessions.rb
apartment-0.24.2 spec/support/capybara_sessions.rb
apartment-0.24.1 spec/support/capybara_sessions.rb