Sha256: 154edbb90117c25d7ed20b992774d2b64bf19133c022af5190b85a805fa35652
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
require 'test_helper' require 'referent' require 'dissertation_catch' class DissertationCatchTest < ActiveSupport::TestCase # this was a regression def test_blank_atitle context_object = OpenURL::ContextObject.new_from_kev("atitle=&title=Between+Us+and+Artistic+Appreciation%3a+Nabokov+and+the+Problem+of+Distortion&issn=04194209") referent = Referent.new referent.set_values_from_context_object(context_object) referent.save! referent.referent_values(true) # reload DissertationCatch.new.filter(referent) assert_equal "Between Us and Artistic Appreciation: Nabokov and the Problem of Distortion", referent.metadata['title'] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
umlaut-4.0.0.beta3 | ./test/unit/dissertation_catch_test.rb |
umlaut-4.0.0.beta2 | ./test/unit/dissertation_catch_test.rb |
umlaut-4.0.0.beta1 | ./test/unit/dissertation_catch_test.rb |