Sha256: aed5ca4b0dbc0fc4ccd8e4ae8fabf12beb0f520dbe20f0f3b58ecacf88b5ff0d

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

describe Unidom::Action::Searching, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      searcher_visitor_id:   SecureRandom.uuid,
      searcher_visitor_type: 'Unidom::Action::Searcher::Mock',
      searcher_party_id:     SecureRandom.uuid,
      searcher_party_type:   'Unidom::Action::SearcherParty::Mock',
      reason_id:             SecureRandom.uuid,
      resource_name:         'users',
      platform_name:         'administration',
      platform_version:      2,
      criteria:              { name: 'admin' },
      found_count:           63,
      shown_count:           10,
      per_page:              10,
      total_pages:           7,
      current_page:          2
    }

    it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unidom-action-1.17.1 lib/rspec/models/unidom/action/searching_spec.rb
unidom-action-1.17 lib/rspec/models/unidom/action/searching_spec.rb