spec/models/characterization_spec.rb in sufia-6.2.0 vs spec/models/characterization_spec.rb in sufia-6.3.0
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
-describe Sufia::GenericFile::Characterization, :type => :model do
+describe Sufia::GenericFile::Characterization, type: :model do
before do
class TestClass < ActiveFedora::Base
include Sufia::GenericFile::Characterization
contains 'content', class_name: 'FileContentDatastream'
@@ -14,10 +14,9 @@
Object.send(:remove_const, :TestClass)
end
subject { TestClass.new }
- it "should not depend on anything except a file datastream and some property accessors" do
+ it "does not depend on anything except a file datastream and some property accessors" do
expect { subject.characterize }.to_not raise_error
end
-
end