Skip to content

Commit

Permalink
missing stub
Browse files Browse the repository at this point in the history
  • Loading branch information
bmabey committed Oct 24, 2008
1 parent 8d2070f commit 3667bf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Support/spec/cucumber/mate/runner_spec.rb
Expand Up @@ -92,6 +92,10 @@ def expect_system_call_to_be_made_with(regex)

describe Runner do

before(:each) do
File.stub!(:exists?).and_return(false)
end

it "should create a new Files::Base from the passed in file path" do
# expect
Files::Base.should_receive(:create_from_file_path).with("/path/to/file").and_return(stub_everything)
Expand Down

0 comments on commit 3667bf4

Please sign in to comment.