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.
Files changed (48) hide show
  1. data/app/models/item.rb +27 -26
  2. data/app/models/manifestation.rb +1 -1
  3. data/app/views/layouts/manifestations.html.erb +32 -0
  4. data/app/views/layouts/manifestations.mobile.erb +18 -0
  5. data/app/views/layouts/patrons.html.erb +26 -0
  6. data/app/views/layouts/patrons.mobile.erb +18 -0
  7. data/app/views/manifestations/_show_detail_librarian.html.erb +0 -3
  8. data/app/views/manifestations/_show_detail_user.html.erb +0 -3
  9. data/config/locales/translation_en.yml +239 -0
  10. data/config/locales/translation_ja.yml +239 -0
  11. data/config/routes.rb +2 -0
  12. data/lib/enju_biblio/version.rb +1 -1
  13. data/spec/dummy/app/controllers/application_controller.rb +11 -1
  14. data/spec/dummy/app/models/ability.rb +0 -2
  15. data/spec/dummy/app/views/page/_footer.html.erb +4 -0
  16. data/spec/dummy/app/views/page/_header.html.erb +2 -0
  17. data/spec/dummy/app/views/page/_include.html.erb +4 -0
  18. data/spec/dummy/app/views/page/_menu.html.erb +2 -0
  19. data/spec/dummy/app/views/page/_select_locale.html.erb +2 -0
  20. data/spec/dummy/db/schema.rb +0 -11
  21. data/spec/dummy/db/test.sqlite3 +0 -0
  22. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  23. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  24. metadata +19 -42
  25. data/app/controllers/accepts_controller.rb +0 -83
  26. data/app/models/accept.rb +0 -37
  27. data/app/views/accepts/_form.html.erb +0 -11
  28. data/app/views/accepts/_list.html.erb +0 -31
  29. data/app/views/accepts/edit.html.erb +0 -13
  30. data/app/views/accepts/index.csv.erb +0 -4
  31. data/app/views/accepts/index.html.erb +0 -49
  32. data/app/views/accepts/index.js.erb +0 -1
  33. data/app/views/accepts/new.html.erb +0 -14
  34. data/app/views/accepts/show.html.erb +0 -31
  35. data/db/migrate/20120319173203_create_accepts.rb +0 -14
  36. data/spec/controllers/accepts_controller_spec.rb +0 -304
  37. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  38. data/spec/dummy/solr/data/test/index/segments_8c +0 -0
  39. data/spec/dummy/solr/data/test/spellchecker/segments.gen +0 -0
  40. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  41. data/spec/factories/accepts.rb +0 -9
  42. data/spec/models/accept_spec.rb +0 -23
  43. data/spec/requests/accepts_spec.rb +0 -11
  44. data/spec/routing/accepts_routing_spec.rb +0 -27
  45. data/spec/views/accepts/edit.html.erb_spec.rb +0 -18
  46. data/spec/views/accepts/index.html.erb_spec.rb +0 -25
  47. data/spec/views/accepts/new.html.erb_spec.rb +0 -31
  48. 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