Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

:pending => 'this message' should store message for later output #540

Closed
dchelimsky opened this Issue · 3 comments

2 participants

@dchelimsky
Owner

Given:

describe "Something" do
  it "does something", :pending => 'awaiting a revelation' do
  end
end

When I run rspec

Then the output should include:


Pending:
  Something does something
    # awaiting a revelation
    # ./example_spec.rb:2

But it just prints this instead:

Pending:
  Something does something
    # Not Yet Implemented
    # ./example_spec.rb:2
@jbrains

+1 as is. I would enjoy using it.

@dchelimsky
Owner

@jbrains in progress - coming shortly

@jbrains

Appreciated.

@dchelimsky dchelimsky was assigned
@dchelimsky dchelimsky closed this issue from a commit
@dchelimsky dchelimsky :pending => 'message' assigns message (defaults to 'No reason given' …
…if :pending => true)

- defaults to 'No reason given' if :pending => true
- change default pending message to 'No reason given'
- assign 'Not yet implemented' when no block passed to example (a.k.a.
  it/specify)
- Closes #540
eb3d26e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.