spec/models/popolo/organization_spec.rb in popolo-0.0.3 vs spec/models/popolo/organization_spec.rb in popolo-0.1.0
- old
+ new
@@ -1,7 +1,9 @@
-require 'spec_helper'
+require 'rails_helper'
-describe Popolo::Organization do
- [:founding_date, :dissolution_date].each do |attribute|
- it_should_behave_like 'a model with a date attribute', attribute
+module Popolo
+ RSpec.describe Organization do
+ [:founding_date, :dissolution_date].each do |attribute|
+ it_behaves_like 'a model with a date attribute', attribute
+ end
end
end