Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Tweak test syntax to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglittle committed Sep 30, 2012
1 parent 97ae221 commit b8148a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/middleware/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ def call(env)
end

it "should raise an error if an invalid middleware is given" do
expect { described_class.new([27]) }.to
raise_error
expect { described_class.new([27]) }.to raise_error
end

it "should not call middlewares which aren't called" do
Expand Down

0 comments on commit b8148a2

Please sign in to comment.