spec/bogus/clean_ruby_spec.rb in bogus-0.1.4 vs spec/bogus/clean_ruby_spec.rb in bogus-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe "Ruby syntax" do
it "is clean" do
- bogus_warnings.should == []
+ expect(bogus_warnings).to eq([])
end
def bogus_warnings
warnings.select { |w| w =~ %r{lib/bogus} }
end