Sha256: 3170a54c63bb94464097df29c64332149418a68a2966d8b2a217a85d1b2dfc1c
Contents?: true
Size: 251 Bytes
Versions: 4
Compression:
Stored size: 251 Bytes
Contents
require 'spec_helper' describe "Ruby syntax" do it "is clean" do bogus_warnings.should == [] end def bogus_warnings warnings.select { |w| w =~ %r{lib/bogus} } end def warnings `ruby -w lib/bogus.rb 2>&1`.split("\n") end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.1.4 | spec/bogus/clean_ruby_spec.rb |
bogus-0.1.3 | spec/bogus/clean_ruby_spec.rb |
bogus-0.1.2 | spec/bogus/clean_ruby_spec.rb |
bogus-0.1.1 | spec/bogus/clean_ruby_spec.rb |