Skip to content

Commit

Permalink
more standard test_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jan 27, 2016
1 parent f96febe commit 3acecee
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/cache_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'

def dumb_app(env)
body = block_given? ? [yield] : ['Hi']
Expand Down
2 changes: 1 addition & 1 deletion test/cachecontrol_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/cachecontrol'
require 'rack/cache/metastore'

Expand Down
2 changes: 1 addition & 1 deletion test/context_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/context'

describe 'Rack::Cache::Context' do
Expand Down
2 changes: 1 addition & 1 deletion test/entitystore_test.rb
@@ -1,5 +1,5 @@
# coding: utf-8
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/entitystore'
require 'rack/cache/metastore'

Expand Down
2 changes: 1 addition & 1 deletion test/key_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/key'

describe 'A Rack::Cache::Key' do
Expand Down
2 changes: 1 addition & 1 deletion test/metastore_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/metastore'
require 'rack/cache/entitystore'

Expand Down
2 changes: 1 addition & 1 deletion test/options_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/options'

module Rack::Cache::Options
Expand Down
2 changes: 1 addition & 1 deletion test/request_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/request'

describe 'Rack::Cache::Request' do
Expand Down
2 changes: 1 addition & 1 deletion test/response_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'

describe 'Rack::Cache::Response' do
before do
Expand Down
2 changes: 1 addition & 1 deletion test/storage_test.rb
@@ -1,4 +1,4 @@
require "#{File.dirname(__FILE__)}/spec_setup"
require_relative 'test_helper'
require 'rack/cache/storage'

describe 'Rack::Cache::Storage' do
Expand Down
File renamed without changes.

0 comments on commit 3acecee

Please sign in to comment.