enju_circulation 0.1.0.pre48 → 0.1.0.pre49

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa4ac8a717069b0e0e49dafb6822873fed12cb4
4
- data.tar.gz: f36b593f237141416cf2a7050efc271dacf948d0
3
+ metadata.gz: e14228dba69a1610c4f660d9ea14b9e395045d75
4
+ data.tar.gz: d85526d2a648828dbb330d83d2f442d4bc23a6ae
5
5
  SHA512:
6
- metadata.gz: 5ac896d0434121bcac47efe750df4a8f0e77737c4915ac02489f179035c8710de7234e8409ac2754db8191b8df8536449869ee8b282e3493824a94a08c7530ec
7
- data.tar.gz: 1d9fb95d1d93a3247c66da62a6fd549a19e63aa6a39e78189f3395f02fc094e0aac4d0c69a1d9bcc9cc7bfb4190894881b694520756fd4f43a1203dac698a4da
6
+ metadata.gz: 3a067ef4994dd36d5ece33d029c7b17d95d025eb12d15100461092bc1404e6d56770fa6da5dc66ef9031642c2376fc5aa17a264ce07396c70f9917fed23402bc
7
+ data.tar.gz: a3acf54008cd8ff39120315c36ba3e18d32b906ffee562b45bcabdc28be91d07f819ccefd3879293b2a6278fb872775230e7dd5f724ca1d3fd6d64069f9ecbbf
@@ -18,11 +18,10 @@ module EnjuCirculation
18
18
  Checkin,
19
19
  CheckoutStatHasManifestation,
20
20
  CheckoutStatHasUser,
21
- Demand,
21
+ Demand,
22
22
  ItemHasUseRestriction,
23
23
  ManifestationCheckoutStat,
24
24
  ManifestationReserveStat,
25
- Reserve,
26
25
  ReserveStatHasManifestation,
27
26
  ReserveStatHasUser,
28
27
  UserCheckoutStat,
@@ -37,6 +36,10 @@ module EnjuCirculation
37
36
  can [:destroy, :delete], Checkout do |checkout|
38
37
  checkout.checkin
39
38
  end
39
+ can [:read, :create, :update], Reserve
40
+ can [:destroy, :delete], Reserve do |reserve|
41
+ true unless reserve.retained?
42
+ end
40
43
  can [:read, :update], [
41
44
  CirculationStatus,
42
45
  LendingPolicy,
@@ -54,7 +57,7 @@ module EnjuCirculation
54
57
  Basket,
55
58
  CheckedItem,
56
59
  Checkin,
57
- Demand,
60
+ Demand,
58
61
  ManifestationCheckoutStat,
59
62
  ManifestationReserveStat,
60
63
  Reserve
@@ -3,7 +3,7 @@ class Reserve < ActiveRecord::Base
3
3
  include Statesman::Adapters::ActiveRecordQueries
4
4
  scope :hold, -> { where('item_id IS NOT NULL') }
5
5
  scope :not_hold, -> { where(item_id: nil) }
6
- scope :waiting, -> {not_in_state(:completed, :expired).where('canceled_at IS NULL AND expired_at > ?', Time.zone.now).order('reserves.id DESC')}
6
+ scope :waiting, -> {not_in_state(:completed, :expired).where('canceled_at IS NULL AND (expired_at > ? OR expired_at IS NULL)', Time.zone.now).order('reserves.id DESC')}
7
7
  scope :retained, -> {in_state(:retained).where('retained_at IS NOT NULL')}
8
8
  scope :completed, -> {in_state(:completed).where('checked_out_at IS NOT NULL')}
9
9
  scope :canceled, -> {in_state(:canceled).where('canceled_at IS NOT NULL')}
@@ -17,6 +17,7 @@
17
17
  <li><%= link_to t('page.overdue'), checkouts_path(view: 'overdue') -%></li>
18
18
  </ul>
19
19
  <%= render 'reserved_facet' %>
20
+ <h4><%= t('page.other_format') %></h4>
20
21
  <ul>
21
22
  <li>
22
23
  <%= link_to 'RSS', checkouts_path(format: :rss) -%>
@@ -25,10 +25,15 @@
25
25
  <li><%= link_to t('page.back_to', model: t('activerecord.models.checkout')), checkouts_path -%></li>
26
26
  </ul>
27
27
  <%= render 'reserved_facet' %>
28
- <p>
29
- <%= link_to (image_tag 'icons/feed.png', size: '16x16', alt: 'RSS', class: 'icon'), checkouts_path(format: :rss, view: 'overdue') -%>
30
- (<%= link_to 'RSS', checkouts_path(format: :rss, view: 'overdue') -%>)
31
- <%= link_to (image_tag 'icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), checkouts_path(format: :txt, view: 'overdue', locale: @locale.to_s) -%>
32
- (<%= link_to 'TSV', checkouts_path(format: :txt, view: 'overdue', locale: @locale.to_s) -%>)
33
- </p>
28
+ <h4><%= t('page.other_format') %></h4>
29
+ <ul>
30
+ <li>
31
+ <%= link_to 'RSS', checkouts_path(format: :rss, view: 'overdue') -%>
32
+ <%= link_to (image_tag 'icons/feed.png', size: '16x16', alt: 'RSS', class: 'icon'), checkouts_path(format: :rss, view: 'overdue') -%>
33
+ </li>
34
+ <li>
35
+ <%= link_to 'TSV', checkouts_path(format: :txt, view: 'overdue', locale: @locale.to_s) -%>
36
+ <%= link_to (image_tag 'icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), checkouts_path(format: :txt, view: 'overdue', locale: @locale.to_s) -%>
37
+ </li>
38
+ </ul>
34
39
  </div>
@@ -19,13 +19,14 @@
19
19
  <%= user.checked_item_count[:"#{available_checkout_type.checkout_type.name}"] -%> / <%= available_checkout_type.checkout_limit -%>
20
20
  </li>
21
21
  <%- end -%>
22
+ <li><%= link_to t('activerecord.models.reserve'), reserves_path(user_id: user.username) -%></li>
23
+ <% if current_user.has_role?('Librarian') %>
24
+ <li><%= link_to t('checkout.all_checkout'), checkouts_path -%></li>
25
+ <% end %>
22
26
  </ul>
23
27
  <%= render 'reserved_facet' %>
28
+ <h4><%= t('page.other_format') %></h4>
24
29
  <ul>
25
- <li><%= link_to t('activerecord.models.reserve'), reserves_path(user_id: user.username) -%></li>
26
- <%- if current_user.has_role?('Librarian') -%>
27
- <li><%= link_to t('checkout.all_checkout'), checkouts_path -%></li>
28
- <%- end -%>
29
30
  <% if current_user.profile.checkout_icalendar_token? %>
30
31
  <li>
31
32
  <%= link_to 'iCalendar', checkouts_path(icalendar_token: user.profile.checkout_icalendar_token, format: :ics) -%>
@@ -0,0 +1,10 @@
1
+ <h2>
2
+ <%= t('activerecord.models.checkout') %>
3
+ <%= link_to image_tag('icons/date.png', size: '16x16', alt: 'iCalendar', class: 'icon'), checkouts_path(icalendar_token: current_user.profile.checkout_icalendar_token, format: :ics) if current_user.profile.checkout_icalendar_token? %>
4
+ <%= link_to image_tag('icons/feed.png', size: '16x16', alt: 'RSS', class: 'icon'), checkouts_path(user_id: current_user.username, format: :rss) %>
5
+ <%= link_to image_tag('icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), checkouts_path(user_id: current_user.username, format: :txt) %>
6
+ </h2>
7
+ <% if @profile.user %>
8
+ <%= render 'checkouts/list', checkouts: @profile.user.checkouts.order('created_at DESC').page(params[:page]) %>
9
+ <% end %>
10
+
@@ -0,0 +1,9 @@
1
+ <ul>
2
+ <%- @profile.user_group.user_group_has_checkout_types.each do |available_checkout_type| -%>
3
+ <li>
4
+ <%= available_checkout_type.checkout_type.display_name.localize -%>:
5
+ <%= @profile.user.checked_item_count[:"#{available_checkout_type.checkout_type.name}"] -%> / <%= available_checkout_type.checkout_limit -%>
6
+ </li>
7
+ <%- end -%>
8
+ </ul>
9
+
@@ -24,7 +24,11 @@
24
24
  <% unless @reserve.completed? %>
25
25
  <div class="field">
26
26
  <%= f.label :item_identifier %><br />
27
- <%= f.text_field :item_identifier %>
27
+ <% if current_user.has_role?('Librarian') %>
28
+ <%= f.text_field :item_identifier %>
29
+ <% else %>
30
+ <%= @reserve.item.try(:item_identifier) %>
31
+ <% end %>
28
32
  </div>
29
33
  <% end %>
30
34
 
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.1.0.pre48"
2
+ VERSION = "0.1.0.pre49"
3
3
  end
@@ -15,6 +15,8 @@ module EnjuCirculation
15
15
  def withdraw!
16
16
  circulation_status = CirculationStatus.where(name: 'Removed').first
17
17
  item.update_column(:circulation_status_id, circulation_status.id) if circulation_status
18
+ item.use_restriction = UseRestriction.where(name: 'Not For Loan').first
19
+ item.index!
18
20
  end
19
21
  end
20
22
  end
@@ -1,9 +1,13 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
4
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
6
12
  //
7
- //= require jquery
8
- //= require jquery_ujs
9
13
  //= require_tree .
@@ -1,226 +1,5 @@
1
1
  # Methods added to this helper will be available to all templates in the application.
2
2
  module ApplicationHelper
3
- include PictureFilesHelper if defined?(EnjuLibrary)
4
- include EnjuManifestationViewer::ManifestationViewerHelper if defined?(EnjuManifestationViewer)
5
-
6
- def form_icon(carrier_type)
7
- case carrier_type.name
8
- when 'print'
9
- image_tag('icons/book.png', :size => '16x16', :alt => carrier_type.display_name.localize)
10
- when 'CD'
11
- image_tag('icons/cd.png', :size => '16x16', :alt => carrier_type.display_name.localize)
12
- when 'DVD'
13
- image_tag('icons/dvd.png', :size => '16x16', :alt => carrier_type.display_name.localize)
14
- when 'file'
15
- image_tag('icons/monitor.png', :size => '16x16', :alt => carrier_type.display_name.localize)
16
- else
17
- image_tag('icons/help.png', :size => '16x16', :alt => t('page.unknown'))
18
- end
19
- rescue NoMethodError
20
- image_tag('icons/help.png', :size => '16x16', :alt => t('page.unknown'))
21
- end
22
-
23
- def content_type_icon(content_type)
24
- case content_type.name
25
- when 'text'
26
- image_tag('icons/page_white_text.png', :size => '16x16', :alt => content_type.display_name.localize)
27
- when 'picture'
28
- image_tag('icons/picture.png', :size => '16x16', :alt => content_type.display_name.localize)
29
- when 'sound'
30
- image_tag('icons/sound.png', :size => '16x16', :alt => content_type.display_name.localize)
31
- when 'video'
32
- image_tag('icons/film.png', :size => '16x16', :alt => content_type.display_name.localize)
33
- else
34
- image_tag('icons/help.png', :size => '16x16', :alt => t('page.unknown'))
35
- end
36
- rescue NoMethodError
37
- image_tag('icons/help.png', :size => '16x16', :alt => t('page.unknown'))
38
- end
39
-
40
- def patron_type_icon(patron_type)
41
- case patron_type
42
- when 'Person'
43
- image_tag('icons/user.png', :size => '16x16', :alt => 'Person')
44
- when 'CorporateBody'
45
- image_tag('icons/group.png', :size => '16x16', :alt => 'CorporateBody')
46
- else
47
- image_tag('icons/help.png', :size => '16x16', :alt => t('page.unknown'))
48
- end
49
- end
50
-
51
- def link_to_tag(tag)
52
- link_to tag, manifestations_path(:tag => tag.name)
53
- end
54
-
55
- def render_tag_cloud(tags, options = {})
56
- return nil if tags.nil?
57
- # TODO: add options to specify different limits and sorts
58
- #tags = Tag.all(:limit => 100, :order => 'taggings_count DESC').sort_by(&:name)
59
-
60
- # TODO: add option to specify which classes you want and overide this if you want?
61
- classes = %w(popular v-popular vv-popular vvv-popular vvvv-popular)
62
-
63
- max, min = 0, 0
64
- tags.each do |tag|
65
- #if options[:max] or options[:min]
66
- # max = options[:max].to_i
67
- # min = options[:min].to_i
68
- #end
69
- max = tag.taggings.size if tag.taggings.size > max
70
- min = tag.taggings.size if tag.taggings.size < min
71
- end
72
- divisor = ((max - min).div(classes.size)) + 1
73
-
74
- content_tag :div, :class => "hTagcloud" do
75
- content_tag :ul, :class => "popularity" do
76
- tags.each do |tag|
77
- content_tag :li do
78
- link_to(tag.name, manifestations_path(:tag => tag.name), :class => classes[(tag.taggings.size - min).div(divisor)])
79
- end
80
- end
81
- end
82
- end
83
- end
84
-
85
- def patrons_list(patrons = [], options = {})
86
- return nil if patrons.blank?
87
- patrons_list = []
88
- if options[:nolink]
89
- patrons_list = patrons.map{|patron| patron.full_name}
90
- else
91
- patrons_list = patrons.map{|patron| link_to(patron.full_name, patron, options)}
92
- end
93
- patrons_list.join(" ").html_safe
94
- end
95
-
96
- def book_jacket(manifestation)
97
- if manifestation.picture_files.exists?
98
- link = ''
99
- manifestation.picture_files.each_with_index do |picture_file, i|
100
- if i == 0
101
- link += link_to(show_image(picture_file, :size => :thumb), picture_file_path(picture_file, :format => :download), :rel => "manifestation_#{manifestation.id}")
102
- else
103
- link += content_tag :span, :style => "display: none" do
104
- link_to(show_image(picture_file, :size => :thumb), picture_file_path(picture_file, :format => :download), :rel => "manifestation_#{manifestation.id}")
105
- end
106
- end
107
- end
108
- return link.html_safe
109
- else
110
- link = book_jacket_tag(manifestation)
111
- unless link
112
- link = screenshot_tag(manifestation)
113
- end
114
- end
115
-
116
- unless link
117
- link = link_to image_tag('unknown_resource.png', :width => '100', :height => '100', :alt => '*', :itemprop => 'image'), manifestation
118
- end
119
- link
120
- end
121
-
122
- def database_adapter
123
- case ActiveRecord::Base.configurations["#{Rails.env}"]['adapter']
124
- when 'postgresql'
125
- link_to 'PostgreSQL', 'http://www.postgresql.org/'
126
- when 'jdbcpostgresql'
127
- link_to 'PostgreSQL', 'http://www.postgresql.org/'
128
- when 'mysql'
129
- link_to 'MySQL', 'http://www.mysql.org/'
130
- when 'jdbcmysql'
131
- link_to 'MySQL', 'http://www.mysql.org/'
132
- when 'sqlite3'
133
- link_to 'SQLite', 'http://www.sqlite.org/'
134
- when 'jdbcsqlite3'
135
- link_to 'SQLite', 'http://www.sqlite.org/'
136
- end
137
- end
138
-
139
- def title_action_name
140
- case controller.action_name
141
- when 'index'
142
- t('title.index')
143
- when 'show'
144
- t('title.show')
145
- when 'new'
146
- t('title.new')
147
- when 'edit'
148
- t('title.edit')
149
- end
150
- end
151
-
152
- def link_to_wikipedia(string)
153
- link_to "Wikipedia", "http://#{I18n.locale}.wikipedia.org/wiki/#{URI.escape(string)}"
154
- end
155
-
156
- def locale_display_name(locale)
157
- Language.where(:iso_639_1 => locale).first.display_name
158
- end
159
-
160
- def locale_native_name(locale)
161
- Language.where(:iso_639_1 => locale).first.native_name
162
- end
163
-
164
- def move_position(object)
165
- render :partial => 'page/position', :locals => {:object => object}
166
- end
167
-
168
- def localized_state(state)
169
- case state
170
- when 'pending'
171
- t('state.pending')
172
- when 'canceled'
173
- t('state.canceled')
174
- when 'started'
175
- t('state.started')
176
- when 'failed'
177
- t('state.failed')
178
- when 'completed'
179
- t('state.completed')
180
- else
181
- state
182
- end
183
- end
184
-
185
- def localized_boolean(bool)
186
- case bool.to_s
187
- when nil
188
- when "true"
189
- t('page.boolean.true')
190
- when "false"
191
- t('page.boolean.false')
192
- end
193
- end
194
-
195
- def current_user_role_name
196
- current_user.try(:role).try(:name) || 'Guest'
197
- end
198
-
199
- def title(controller_name)
200
- string = ''
201
- unless ['page', 'routing_error', 'my_accounts'].include?(controller_name)
202
- string << t("activerecord.models.#{controller_name.singularize}") + ' - '
203
- end
204
- if controller_name == 'routing_error'
205
- string << t("page.routing_error") + ' - '
206
- end
207
- string << LibraryGroup.system_name + ' - Next-L Enju Leaf'
208
- string.html_safe
209
- end
210
-
211
- def back_to_index(options = {})
212
- if options == nil
213
- options = {}
214
- else
215
- options.reject!{|key, value| value.blank?}
216
- options.delete(:page) if options[:page].to_i == 1
217
- end
218
- unless controller_name == 'test'
219
- link_to t('page.listing', :model => t("activerecord.models.#{controller_name.singularize}")), url_for(params.merge(:controller => controller_name, :action => :index, :id => nil, :only_path => true).merge(options))
220
- end
221
- end
222
-
223
- def set_focus_on_search_form
224
- javascript_tag("$('#search_form').focus()") if @query.blank?
225
- end
3
+ include EnjuLeaf::EnjuLeafHelper
4
+ include EnjuBiblio::BiblioHelper if defined?(EnjuBiblio)
226
5
  end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :checkout, :class => Checkout do |f|
3
+ f.due_date Time.zone.now.next_week
4
+ f.association :item, factory: :item
5
+ f.association :user, factory: :user
6
+ f.association :librarian, factory: :librarian
7
+ f.association :basket, factory: :basket
8
+ end
9
+ end
@@ -99,6 +99,13 @@ describe Reserve do
99
99
  reservation.reload
100
100
  assert reservation.should be_valid
101
101
  end
102
+
103
+ it "should be treated as Waiting" do
104
+ reserve = FactoryGirl.create(:reserve)
105
+ expect(Reserve.waiting).to include reserve
106
+ reserve = FactoryGirl.create(:reserve, expired_at: nil)
107
+ expect(Reserve.waiting).to include reserve
108
+ end
102
109
  end
103
110
 
104
111
  # == Schema Information
@@ -2,7 +2,7 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe "checkouts/index" do
5
- fixtures :users, :roles, :user_has_roles
5
+ fixtures :all
6
6
 
7
7
  before(:each) do
8
8
  view.extend EnjuLeaf::EnjuLeafHelper
@@ -16,6 +16,6 @@ describe "checkouts/index" do
16
16
  it "renders a list of checkouts" do
17
17
  render
18
18
  # Run the generator again with the --webrat flag if you want to use webrat matchers
19
- rendered.should match(/これからの生命科学研究者のためのバイオ特許入門講座/)
19
+ assert_select "tr:nth-child(2)>td:nth-child(2)", /00001/
20
20
  end
21
21
  end
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'spec_helper'
3
+
4
+ describe "profiles/show" do
5
+ fixtures :all
6
+
7
+ before(:each) do
8
+ view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first)
9
+ assign(:profile, User.where(username: 'enjuadmin').first.profile)
10
+ end
11
+
12
+ it "renders attributes in <p>" do
13
+ render
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ rendered.should match(/返却期限/)
16
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
17
+ assert_select "tr:nth-child(2)>td:nth-child(2)", /00014/
18
+ end
19
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_circulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre48
4
+ version: 0.1.0.pre49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-27 00:00:00.000000000 Z
11
+ date: 2015-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_leaf
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.0.rc20
19
+ version: 1.1.0.rc22
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.1.0.rc20
26
+ version: 1.1.0.rc22
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: enju_event
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +122,6 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '2.2'
125
- - !ruby/object:Gem::Dependency
126
- name: mobylette
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: simplecov
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -342,7 +328,9 @@ files:
342
328
  - app/views/manifestation_reserve_stats/new.html.erb
343
329
  - app/views/manifestation_reserve_stats/show.html.erb
344
330
  - app/views/manifestation_reserve_stats/show.txt.erb
331
+ - app/views/profiles/_checkout_list.html.erb
345
332
  - app/views/profiles/_feed_token.html.erb
333
+ - app/views/profiles/_submenu_checkout.html.erb
346
334
  - app/views/reserves/_form.html.erb
347
335
  - app/views/reserves/_new.html.erb
348
336
  - app/views/reserves/_new_user.html.erb
@@ -666,6 +654,7 @@ files:
666
654
  - spec/factories/basket.rb
667
655
  - spec/factories/carrier_type.rb
668
656
  - spec/factories/carrier_type_has_checkout_type.rb
657
+ - spec/factories/checkout.rb
669
658
  - spec/factories/checkout_stat.rb
670
659
  - spec/factories/checkout_stat_has_manifestation.rb
671
660
  - spec/factories/checkout_stat_has_user.rb
@@ -762,6 +751,7 @@ files:
762
751
  - spec/views/checkouts/edit.html.erb_spec.rb
763
752
  - spec/views/checkouts/index.html.erb_spec.rb
764
753
  - spec/views/checkouts/show.html.erb_spec.rb
754
+ - spec/views/profiles/show.html.erb_spec.rb
765
755
  - spec/views/reserves/index.html.erb_spec.rb
766
756
  - spec/views/use_restrictions/edit.html.erb_spec.rb
767
757
  - spec/views/use_restrictions/index.html.erb_spec.rb
@@ -1002,6 +992,7 @@ test_files:
1002
992
  - spec/factories/basket.rb
1003
993
  - spec/factories/carrier_type.rb
1004
994
  - spec/factories/carrier_type_has_checkout_type.rb
995
+ - spec/factories/checkout.rb
1005
996
  - spec/factories/checkout_stat.rb
1006
997
  - spec/factories/checkout_stat_has_manifestation.rb
1007
998
  - spec/factories/checkout_stat_has_user.rb
@@ -1098,6 +1089,7 @@ test_files:
1098
1089
  - spec/views/checkouts/edit.html.erb_spec.rb
1099
1090
  - spec/views/checkouts/index.html.erb_spec.rb
1100
1091
  - spec/views/checkouts/show.html.erb_spec.rb
1092
+ - spec/views/profiles/show.html.erb_spec.rb
1101
1093
  - spec/views/reserves/index.html.erb_spec.rb
1102
1094
  - spec/views/use_restrictions/edit.html.erb_spec.rb
1103
1095
  - spec/views/use_restrictions/index.html.erb_spec.rb