Permalink
Browse files

make spec work on 1.9.2

  • Loading branch information...
1 parent e71f297 commit 95d8d89795d7d8313808ae4e9e9afde5901f2e5b Luis Borjas and Matthew Kane Parker committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/lib/license_finder/configuration_spec.rb
@@ -7,7 +7,7 @@
describe "whitelisted?" do
context "canonical name whitelisted" do
- before { config.whitelist = [LicenseFinder::License::Apache2.names[rand(0...LicenseFinder::License::Apache2.names.count)]]}
+ before { config.whitelist = [LicenseFinder::License::Apache2.names[rand(LicenseFinder::License::Apache2.names.count)]]}
let(:possible_license_names) { LicenseFinder::License::Apache2.names }

0 comments on commit 95d8d89

Please sign in to comment.