spec/models/administrative_metadata_spec.rb in ddr-models-3.0.0.beta.12 vs spec/models/administrative_metadata_spec.rb in ddr-models-3.0.0.beta.13
- old
+ new
@@ -6,9 +6,10 @@
let(:obj) { FactoryGirl.build(:item) }
describe ".property_term" do
it "should return the correct property term" do
expect(described_class.property_term(:local_id)).to eq(:local_id)
+ expect(described_class.property_term('local_id')).to eq(:local_id)
end
end
describe "using the set_values and add_value methods" do
let(:ds) { described_class.new(obj) }