Sha256: 9d5c79bc43a7a05b7fdba1dc2a36a389edca4bb65d97ad2d187174ec52e6f245
Contents?: true
Size: 448 Bytes
Versions: 4
Compression:
Stored size: 448 Bytes
Contents
require '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 expect(@commit.committed_date).to be_an_instance_of(Date) end it "should extract url" do expect(@commit.url).to_not be_empty end it "should extract id" do expect(@commit.id).to_not be_empty end end
Version data entries
4 entries across 4 versions & 1 rubygems