spec/models/popolo/group_result_spec.rb in popolo-0.0.3 vs spec/models/popolo/group_result_spec.rb in popolo-0.1.0

- old
+ new

@@ -1,7 +1,9 @@ -require 'spec_helper' +require 'rails_helper' -describe Popolo::GroupResult do - [:group, :result].each do |attribute| - it {should validate_presence_of attribute} +module Popolo + RSpec.describe GroupResult do + [:group, :result].each do |attribute| + it {should validate_presence_of attribute} + end end end