Permalink
Browse files

+ prerun performance spec

  • Loading branch information...
1 parent 66bbb6a commit 4e0e01d8ecbc369151b945edc325bc28deacbf22 @floere committed Dec 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 server/spec/lib/character_substituters/west_european_spec.rb
@@ -24,6 +24,7 @@ def self.it_should_not_substitute special_character
#
describe "speed" do
it "is fast" do
+ substituter.substitute 'ä' # Prerun
result = performance_of { substituter.substitute('ä') }
result.should < 0.00009
end

0 comments on commit 4e0e01d

Please sign in to comment.