fix another command generation bug
This commit is contained in:
parent
b82b011156
commit
bc40c594a4
|
@ -16,7 +16,7 @@ module Guard
|
|||
:force_run => false
|
||||
}.merge(options)
|
||||
|
||||
@runner = RailsRunner.new(options)
|
||||
@runner = RailsRunner.new(@options)
|
||||
end
|
||||
|
||||
def start
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue