Sha256: 4188fb543cde88c32713a6cf2b2326aba976cbcf608308c9e430d597b92cce89

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

require 'spec_helper'

describe Popolo::Event do
  [:source, :url, :body, :issued_at].each do |attribute|
    it {should validate_presence_of attribute}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
popolo-0.0.2 spec/models/popolo/event_spec.rb
popolo-0.0.1 spec/models/popolo/event_spec.rb