Sha256: c154091c3d9a3355812577fc0c8263b3187dba7bccef550f624dfa8eab86721d

Contents?: true

Size: 466 Bytes

Versions: 11

Compression:

Stored size: 466 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require example('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

11 entries across 11 versions & 3 rubygems

Version Path
Empact-roxml-2.4.3 spec/examples/dashed_elements_spec.rb
Empact-roxml-2.5.1 spec/examples/dashed_elements_spec.rb
Empact-roxml-2.5.2 spec/examples/dashed_elements_spec.rb
Empact-roxml-2.5.3 spec/examples/dashed_elements_spec.rb
doxo-roxml-2.5.3 spec/examples/dashed_elements_spec.rb
roxml-2.5.0 spec/examples/dashed_elements_spec.rb
roxml-2.5.1 spec/examples/dashed_elements_spec.rb
roxml-2.4.2 spec/examples/dashed_elements_spec.rb
roxml-2.4.3 spec/examples/dashed_elements_spec.rb
roxml-2.5.3 spec/examples/dashed_elements_spec.rb
roxml-2.5.2 spec/examples/dashed_elements_spec.rb