Skip to content

Commit 59cf308

Browse files
committed
Merge pull request #80 from almog/master
Change the RACK_ENV to 'test' in rspec's spec_helper.rb
2 parents dff786d + 085ca30 commit 59cf308

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/rspec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ require 'rack/test'
1414

1515
require File.expand_path '../../my-app.rb', __FILE__
1616

17+
ENV['RACK_ENV'] = 'test'
18+
1719
module RSpecMixin
1820
include Rack::Test::Methods
1921
def app() Sinatra::Application end

0 commit comments

Comments
 (0)