curate 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/catalog_controller.rb +2 -0
- data/app/views/curate/collections/edit.html.erb +1 -1
- data/lib/curate/version.rb +1 -1
- data/lib/generators/curate/application_template.rb +1 -1
- data/spec/internal/Gemfile +1 -1
- data/spec/internal/Gemfile.lock +1 -1
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/log/test.log +1210 -0
- data/spec/views/curate/collections/edit.html.erb_spec.rb +12 -0
- metadata +3 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'curate/collections/edit.html.erb' do
|
4
|
+
let(:collection) { FactoryGirl.build(:collection) }
|
5
|
+
before(:each) do
|
6
|
+
assign(:collection, collection)
|
7
|
+
render
|
8
|
+
end
|
9
|
+
it 'renders page header' do
|
10
|
+
expect(view.content_for(:page_header)).to have_tag('h1 .human_readable_type')
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Friesen
|
@@ -1320,6 +1320,7 @@ files:
|
|
1320
1320
|
- spec/support/shared/shared_examples_with_related_works.rb
|
1321
1321
|
- spec/validators/future_date_validator_spec.rb
|
1322
1322
|
- spec/views/catalog/_add_to_collection_gui.html.erb_spec.rb
|
1323
|
+
- spec/views/curate/collections/edit.html.erb_spec.rb
|
1323
1324
|
- spec/views/curate/people/show.html.erb_spec.rb
|
1324
1325
|
- spec/views/curation_concern/base/_add_to_collection_gui.html.erb_spec.rb
|
1325
1326
|
- spec/views/curation_concern/base/_collection.html.erb_spec.rb
|
@@ -1831,6 +1832,7 @@ test_files:
|
|
1831
1832
|
- spec/support/shared/shared_examples_with_related_works.rb
|
1832
1833
|
- spec/validators/future_date_validator_spec.rb
|
1833
1834
|
- spec/views/catalog/_add_to_collection_gui.html.erb_spec.rb
|
1835
|
+
- spec/views/curate/collections/edit.html.erb_spec.rb
|
1834
1836
|
- spec/views/curate/people/show.html.erb_spec.rb
|
1835
1837
|
- spec/views/curation_concern/base/_add_to_collection_gui.html.erb_spec.rb
|
1836
1838
|
- spec/views/curation_concern/base/_collection.html.erb_spec.rb
|