Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
fix another command generation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Jun 1, 2011
1 parent b82b011 commit bc40c59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def initialize(watchers = [], options = {})
:force_run => false
}.merge(options)

@runner = RailsRunner.new(options)
@runner = RailsRunner.new(@options)
end

def start
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/guard/rails_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
describe '#initialize' do
it "should initialize with options" do
guard

guard.runner.options[:port].should == 3000
end
end

Expand Down

0 comments on commit bc40c59

Please sign in to comment.