Skip to content

Commit

Permalink
Update rspec tests for Sinatra 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zapnap committed Mar 9, 2009
1 parent ba274d2 commit da72d94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions spec/application_spec.rb
@@ -1,6 +1,8 @@
require "#{File.dirname(__FILE__)}/spec_helper"

describe 'main application' do
include Sinatra::Test

specify 'should show the default index page' do
get '/'
@response.should be_ok
Expand Down
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
@@ -1,6 +1,8 @@
require 'rubygems'
require 'sinatra'
require 'sinatra/test/rspec'
require 'spec'
require 'spec/interop/test'
require 'sinatra/test'

# set test environment
set :environment, :test
Expand Down

0 comments on commit da72d94

Please sign in to comment.