guard-motion icon indicating copy to clipboard operation
guard-motion copied to clipboard

Guard hangs on empty spec

Open holgersindbaek opened this issue 11 years ago • 0 comments

If I have an empty specification in my test, then guard just "hangs" on it. It doesn't skip it, it simply just stops and I have to close my terminal window then. This would make it hang:

context "Correct password/email combination" do

  before do
    @login_email_input.text = "[email protected]"
    @login_password_input.text = "demo1234"

    controller.login do |block|
      @block = block
      resume
    end
  end

  it "return true" do
    wait_max(10) { @block.should.equal true }
  end

  # This makes guard hang
  it "save slug"

end

Is this the intended behavior?

I'm using iTerm btw.

holgersindbaek avatar Nov 03 '13 22:11 holgersindbaek