Skip to content

Commit

Permalink
Merge pull request #1392 from styd/remove-anything-in-test
Browse files Browse the repository at this point in the history
Remove Anything from test
  • Loading branch information
rafaelfranca committed Oct 1, 2019
2 parents c8d0f2b + 9435159 commit d4d5ae3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions test/builder/anything.rb

This file was deleted.

7 changes: 0 additions & 7 deletions test/spec_builder.rb
Expand Up @@ -240,13 +240,6 @@ def config_file(name)
env.must_equal({})
end

it "requires anything not ending in .ru" do
$: << File.dirname(__FILE__)
app, * = Rack::Builder.parse_file 'builder/anything'
Rack::MockRequest.new(app).get("/").body.to_s.must_equal 'OK'
$:.pop
end

it 'requires an_underscore_app not ending in .ru' do
$: << File.dirname(__FILE__)
app, * = Rack::Builder.parse_file 'builder/an_underscore_app'
Expand Down

0 comments on commit d4d5ae3

Please sign in to comment.