Sha256: 44a428533e804c456701acc2aef8624586f043439318d9a82c5624f905b320df
Contents?: true
Size: 629 Bytes
Versions: 8
Compression:
Stored size: 629 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Roodi::Core::Runner do describe "given a custom config file" do before do @runner = Roodi::Core::Runner.new @runner.config= File.expand_path(File.dirname(__FILE__) + '/../roodi.yml') end it "uses check from it" do # @runner.check_file(File.expand_path(File.dirname(__FILE__) + '/../fixtures/test_class.rb')) content = <<-RUBY class TestClass def METHOD end end RUBY @runner.check_content(content) @runner.errors.should be_empty end end end
Version data entries
8 entries across 8 versions & 3 rubygems