Sha256: 5213c8ed68547b9dae34e09885fb8045fb61e83f58eb45d0d1a2193223ee10bd

Contents?: true

Size: 937 Bytes

Versions: 1

Compression:

Stored size: 937 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

1 entries across 1 versions & 1 rubygems

Version Path
remarkable-3.1.9 spec/pending_spec.rb