test/unit/acts_as_url/adapter/datamapper.rb in stringex-2.6.1 vs test/unit/acts_as_url/adapter/datamapper.rb in stringex-2.7.0
- old
+ new
@@ -23,21 +23,21 @@
include DataMapper::Resource
property :id, Serial
property :title, String
property :other, String
property :another, String
- property :url, String, :lazy => false
+ property :url, String, lazy: false
acts_as_url :title
end
class STIBaseDocument
include DataMapper::Resource
property :id, Serial
property :title, String
property :other, String
property :another, String
- property :url, String, :lazy => false
+ property :url, String, lazy: false
property :type, String
# This gets redefined in the only test that uses it but I want to be uniform
# in setting configuration details in the tests themselves
acts_as_url :title