fix another command generation bug

This commit is contained in:
John Bintz 2011-06-01 10:36:12 -04:00
parent b82b011156
commit bc40c594a4
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -9,6 +9,8 @@ describe Guard::Rails do
describe '#initialize' do
it "should initialize with options" do
guard
guard.runner.options[:port].should == 3000
end
end