Use be instead of eq.

bug/bundler_fix
Joe Vennix 2014-03-03 21:55:12 -06:00
parent a382b78f80
commit 2a87973d3c
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ describe Rex::Exploitation::JSObfu do
jsobfu.stub(:random_string) { generated.shift }
end
it { should eq random }
it { should be random }
end
context 'when a non-unique random var is generated' do
@ -44,7 +44,7 @@ describe Rex::Exploitation::JSObfu do
jsobfu.instance_variable_set("@vars", vars)
end
it { should eq random }
it { should be random }
end
end