Sha256: f37f26f5db8e8ed1df6629833deea6a9c8f67c7ba2ef12158357c6ffe1715f6d
Contents?: true
Size: 418 Bytes
Versions: 9
Compression:
Stored size: 418 Bytes
Contents
require 'test_helper' module Pelusa describe '.run' do describe 'without arguments' do before do @runner = mock @output = mock end it 'invokes a new Runner on all Ruby files' do Runner.expects(:new).with(Lint.all, StdoutReporter).returns @runner @runner.expects(:run).with([]).returns @output Pelusa.run.must_equal @output end end end end
Version data entries
9 entries across 9 versions & 1 rubygems