spec/integration_spec.rb in mrjoy-bundler-audit-0.3.6 vs spec/integration_spec.rb in mrjoy-bundler-audit-0.3.7

- old
+ new

@@ -118,13 +118,10 @@ context "when auditing a secure bundle" do let(:bundle) { 'secure' } let(:directory) { File.join('spec','bundle',bundle) } -# Skip this test on any Ruby below 1.9.3. -version = RUBY_VERSION.split(/\./).map(&:to_i) -if((version[0] == 1 && version[1] >= 9 && version[2] >= 3) || (version[0] >= 2)) subject do Dir.chdir(directory) { sh(command) } end it "should notify us properly when everything is fine" do @@ -132,12 +129,7 @@ # _will_, in the case of the test but _may_ in the real world) have been # performed. subject.should =~ /^No unpatched versions found$/ subject.should =~ /^No insecure sources found$/ end -else - it "should notify us properly when everything is fine" do - pending "Requires ActiveSupport 4.x, which requires Ruby >= 1.9.3." - end -end end end