fix a resolution issue and add a test for it

This commit is contained in:
John Bintz 2011-06-01 10:13:04 -04:00
parent 745d49da67
commit bf2eaf9f58
2 changed files with 9 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module Guard
:force_run => false
}.merge(options)
@runner = Guard::RailsRunner.new(options)
@runner = RailsRunner.new(options)
end
def start

View File

@ -2,6 +2,14 @@ require 'spec_helper'
require 'guard/rails'
describe Guard::Rails do
let(:guard) { Guard::Rails.new(watchers, options) }
let(:watchers) { [] }
let(:options) { {} }
describe '#initialize' do
it "should initialize with options" do
guard
end
end
end