Sha256: 708a45be831e6ea760bcd613266e635caec223e2e7b78be0f8e4e343701b9e21

Contents?: true

Size: 944 Bytes

Versions: 9

Compression:

Stored size: 944 Bytes

Contents

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

describe Remarkable::Pending do

  it "should create pending groups" do
    spec = self

    self.class.pending "pending examples" do
      self.instance_variable_get("@_pending_group").should spec.be_true
      self.instance_variable_get("@_pending_group_description").should spec.eql("pending examples")
      self.instance_variable_get("@_pending_group_execute").should spec.be_true
    end

    self.instance_variable_get("@_pending_group").should be_nil
    self.instance_variable_get("@_pending_group_description").should be_nil
    self.instance_variable_get("@_pending_group_execute").should be_nil
  end

  pending "pending examples" do
#    example "should show as not implemented"
#
#    specify "should show as pending" do
#      raise "oops"
#    end
#
#    it "should show as fixed" do
#      true.should be_true
#    end

    should_contain(5)
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
remarkable-3.1.7 spec/pending_spec.rb
remarkable-3.1.8 spec/pending_spec.rb
remarkable-3.1.2 spec/pending_spec.rb
remarkable-3.1.3 spec/pending_spec.rb
remarkable-3.1.0 spec/pending_spec.rb
remarkable-3.1.5 spec/pending_spec.rb
remarkable-3.1.6 spec/pending_spec.rb
remarkable-3.1.4 spec/pending_spec.rb
remarkable-3.1.1 spec/pending_spec.rb