class Object

Public Instance Methods

create(*) click to toggle source
# File lib/hyrax/spec/matchers/act.rb, line 5
def create(*)
  @created = true
end
decorated_names(names) click to toggle source
# File lib/hyrax/spec/matchers/list_index_fields.rb, line 13
def decorated_names(names)
  names.map { |name| name.end_with?(':') ? name : name + ':' }
end
destroy(*) click to toggle source
# File lib/hyrax/spec/matchers/act.rb, line 13
def destroy(*)
  @destroyed = true
end
labels_for(view) click to toggle source
# File lib/hyrax/spec/matchers/list_index_fields.rb, line 17
def labels_for(view)
  view.find('.metadata').all('.attribute-label').map(&:text)
end
update(*) click to toggle source
# File lib/hyrax/spec/matchers/act.rb, line 9
def update(*)
  @updated = true
end