diff options
author | James Tucker <jftucker@gmail.com> | 2013-01-13 13:37:30 -0800 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2013-01-13 13:37:30 -0800 |
commit | a13426b08bc2031e03133df6590b159251adf460 (patch) | |
tree | e05c6a07021814f7f73e0d389c35f0cfa3265e78 /test/spec_server.rb | |
parent | e92a8ce5b10502c8e0beb5f37af71d21414c6947 (diff) | |
download | rack-a13426b08bc2031e03133df6590b159251adf460.tar.gz |
Squash test warnings
Diffstat (limited to 'test/spec_server.rb')
-rw-r--r-- | test/spec_server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_server.rb b/test/spec_server.rb index 49605763..82495bd8 100644 --- a/test/spec_server.rb +++ b/test/spec_server.rb @@ -19,12 +19,12 @@ describe Rack::Server do it "overrides :config if :app is passed in" do server = Rack::Server.new(:app => "FOO") - server.app.should == "FOO" + server.app.should.equal "FOO" end should "prefer to use :builder when it is passed in" do server = Rack::Server.new(:builder => "run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['success']] }") - server.app.class.should == Proc + server.app.class.should.equal Proc Rack::MockRequest.new(server.app).get("/").body.to_s.should.equal 'success' end |