diff options
Diffstat (limited to 'spec/ruby/library/securerandom')
-rw-r--r-- | spec/ruby/library/securerandom/base64_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/securerandom/hex_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/securerandom/base64_spec.rb b/spec/ruby/library/securerandom/base64_spec.rb index 68e61c9ecb..57db25fa29 100644 --- a/spec/ruby/library/securerandom/base64_spec.rb +++ b/spec/ruby/library/securerandom/base64_spec.rb @@ -36,7 +36,7 @@ describe "SecureRandom.base64" do SecureRandom.base64.length.should < 32 * 2 end - it "treats nil agrument as default one and generates a random base64 string" do + it "treats nil argument as default one and generates a random base64 string" do SecureRandom.base64(nil).should be_kind_of(String) SecureRandom.base64(nil).length.should < 32 * 2 end diff --git a/spec/ruby/library/securerandom/hex_spec.rb b/spec/ruby/library/securerandom/hex_spec.rb index 691392a7b9..8690d8458c 100644 --- a/spec/ruby/library/securerandom/hex_spec.rb +++ b/spec/ruby/library/securerandom/hex_spec.rb @@ -35,7 +35,7 @@ describe "SecureRandom.hex" do SecureRandom.hex.length.should == 32 end - it "treats nil agrument as default one and generates a random hex string of length 32" do + it "treats nil argument as default one and generates a random hex string of length 32" do SecureRandom.hex(nil).should be_kind_of(String) SecureRandom.hex(nil).length.should == 32 end |