Fix broken spec for Rex::Text.randomize_space

bug/bundler_fix
William Vu 2014-04-02 11:48:50 -05:00
parent 5397fdbf02
commit 92c6113a7c
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ describe Rex::Text do
let (:sample_text) { "The quick brown sploit jumped over the lazy A/V" }
let (:spaced_text) { described_class.randomize_space(sample_text) }
it "should return a string with at least one new space characater" do
spaced_text.should match /\x09\x0d\x0a/
spaced_text.should match /[\x09\x0d\x0a]/
end
it "should not otherwise be mangled" do