spec/models/popolo/post_spec.rb in popolo-0.0.2 vs spec/models/popolo/post_spec.rb in popolo-0.0.3
- old
+ new
@@ -1,7 +1,5 @@
require 'spec_helper'
describe Popolo::Post do
- [:role, :organization_id].each do |attribute|
- it {should validate_presence_of attribute}
- end
+ it {should validate_presence_of :organization_id}
end