Sha256: b007339fe855a3683f273a3665101998a37ecadbed27de8945a731920e18fa82

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

require_relative './../spec_helper'
require_relative './../../examples/dashed_elements'

describe GitHub::Commit do
  before do
    @commit = GitHub::Commit.from_xml(xml_for('dashed_elements'))
  end

  it "should extract committed date" do
    @commit.committed_date.should be_an_instance_of(Date)
  end

  it "should extract url" do
    @commit.url.should_not be_empty
  end

  it "should extract id" do
    @commit.id.should_not be_empty
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
representable-0.0.1.alpha1 spec/examples/dashed_elements_spec.rb
roxml-3.1.6 spec/examples/dashed_elements_spec.rb