Sha256: e29c6126e7d2b6661e6ebd893fbde5b83d3f956f5195e26739a46180a5bebaa0

Contents?: true

Size: 265 Bytes

Versions: 94

Compression:

Stored size: 265 Bytes

Contents

require 'rack/test'

RSpec.shared_context "website" do
	include Rack::Test::Methods
	
	let(:rackup_path) {File.expand_path('../config.ru', __dir__)}
	let(:rackup_directory) {File.dirname(rackup_path)}
	
	let(:app) {Rack::Builder.parse_file(rackup_path).first}
end

Version data entries

94 entries across 56 versions & 2 rubygems

Version Path
async-websocket-0.14.0 examples/utopia/spec/website_context.rb
utopia-2.11.1 documentation/spec/website_context.rb
utopia-2.11.0 documentation/spec/website_context.rb
utopia-2.10.0 setup/site/spec/website_context.rb
utopia-2.10.0 documentation/spec/website_context.rb
utopia-2.9.5 setup/site/spec/website_context.rb
utopia-2.9.5 documentation/spec/website_context.rb
async-websocket-0.13.1 examples/utopia/spec/website_context.rb
utopia-2.9.3 documentation/spec/website_context.rb
utopia-2.9.3 setup/site/spec/website_context.rb
async-websocket-0.13.0 examples/utopia/spec/website_context.rb
async-websocket-0.12.2 examples/utopia/spec/website_context.rb
utopia-2.9.2 documentation/spec/website_context.rb
utopia-2.9.2 setup/site/spec/website_context.rb
utopia-2.9.1 documentation/spec/website_context.rb
utopia-2.9.1 setup/site/spec/website_context.rb
utopia-2.9.0 documentation/spec/website_context.rb
utopia-2.9.0 setup/site/spec/website_context.rb
async-websocket-0.12.1 examples/utopia/spec/website_context.rb
async-websocket-0.12.0 examples/utopia/spec/website_context.rb