enju_biblio 0.1.0.pre15 → 0.1.0.pre16
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/item.rb +27 -26
- data/app/models/manifestation.rb +1 -1
- data/app/views/layouts/manifestations.html.erb +32 -0
- data/app/views/layouts/manifestations.mobile.erb +18 -0
- data/app/views/layouts/patrons.html.erb +26 -0
- data/app/views/layouts/patrons.mobile.erb +18 -0
- data/app/views/manifestations/_show_detail_librarian.html.erb +0 -3
- data/app/views/manifestations/_show_detail_user.html.erb +0 -3
- data/config/locales/translation_en.yml +239 -0
- data/config/locales/translation_ja.yml +239 -0
- data/config/routes.rb +2 -0
- data/lib/enju_biblio/version.rb +1 -1
- data/spec/dummy/app/controllers/application_controller.rb +11 -1
- data/spec/dummy/app/models/ability.rb +0 -2
- data/spec/dummy/app/views/page/_footer.html.erb +4 -0
- data/spec/dummy/app/views/page/_header.html.erb +2 -0
- data/spec/dummy/app/views/page/_include.html.erb +4 -0
- data/spec/dummy/app/views/page/_menu.html.erb +2 -0
- data/spec/dummy/app/views/page/_select_locale.html.erb +2 -0
- data/spec/dummy/db/schema.rb +0 -11
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
- metadata +19 -42
- data/app/controllers/accepts_controller.rb +0 -83
- data/app/models/accept.rb +0 -37
- data/app/views/accepts/_form.html.erb +0 -11
- data/app/views/accepts/_list.html.erb +0 -31
- data/app/views/accepts/edit.html.erb +0 -13
- data/app/views/accepts/index.csv.erb +0 -4
- data/app/views/accepts/index.html.erb +0 -49
- data/app/views/accepts/index.js.erb +0 -1
- data/app/views/accepts/new.html.erb +0 -14
- data/app/views/accepts/show.html.erb +0 -31
- data/db/migrate/20120319173203_create_accepts.rb +0 -14
- data/spec/controllers/accepts_controller_spec.rb +0 -304
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_8c +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments.gen +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/factories/accepts.rb +0 -9
- data/spec/models/accept_spec.rb +0 -23
- data/spec/requests/accepts_spec.rb +0 -11
- data/spec/routing/accepts_routing_spec.rb +0 -27
- data/spec/views/accepts/edit.html.erb_spec.rb +0 -18
- data/spec/views/accepts/index.html.erb_spec.rb +0 -25
- data/spec/views/accepts/new.html.erb_spec.rb +0 -31
- data/spec/views/accepts/show.html.erb_spec.rb +0 -17
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe "accepts/show" do
|
4
|
-
before(:each) do
|
5
|
-
@accept = assign(:accept, stub_model(Accept,
|
6
|
-
:item_id => 1,
|
7
|
-
:librarian_id => 1,
|
8
|
-
:created_at => Time.zone.now
|
9
|
-
))
|
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(/1/)
|
16
|
-
end
|
17
|
-
end
|