Sha256: 60bbe53ebd32b96886458d418273ae6a06b0d5c1cd0e0c7dba1969dfea1099a6

Contents?: true

Size: 551 Bytes

Versions: 116

Compression:

Stored size: 551 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "pending example (using pending method)" do
  it %Q|should be reported as "PENDING: for some reason"| do
    pending("for some reason")
  end
end

describe "pending example (with no block)" do
  it %Q|should be reported as "PENDING: Not Yet Implemented"|
end

describe "pending example (with block for pending)" do
  it %Q|should have a failing block, passed to pending, reported as "PENDING: for some reason"| do
    pending("for some reason") do
      raise "some reason"
    end
  end
end

Version data entries

116 entries across 116 versions & 13 rubygems

Version Path
dchelimsky-rspec-1.1.10 examples/pure/pending_example.rb
dchelimsky-rspec-1.1.11.1 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.2 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.3 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.4 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.5 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.6 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11.7 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.11 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.12 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.1 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.13 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.2 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.3 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.4 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.5 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.6 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.7 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.8 examples/passing/pending_example.rb
dchelimsky-rspec-1.1.99.9 examples/passing/pending_example.rb