Sha256: 0dd87df6d05c96bd042f72a006ba3acf6a9ab5e8a3b4c4e942607cfc65d886e6

Contents?: true

Size: 812 Bytes

Versions: 3

Compression:

Stored size: 812 Bytes

Contents

#
# Copyright 2011 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'rack/test'
require 'stompbox'

ENV['DATABASE_URL'] = 'postgres://stompbox:stompbox@localhost/stompbox'

def app
  @app ||= StompBox::Application.new
end

RSpec.configure do |conf|
  conf.include Rack::Test::Methods
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
torquebox-stompbox-0.3.0 spec/spec_helper.rb
torquebox-stompbox-0.2.0 spec/spec_helper.rb
torquebox-stompbox-0.1.0 spec/spec_helper.rb