Skip to content
This repository
Browse code

Also pickup keys in lookups in javascript files assuming the babilu p…

…lugin is used, i.e. that the I18n.t('key') syntax is used. Changed Rakefile and spec_helper.rb to reflect whas the rspec-plugin-generator generates, assuming that is best practice
  • Loading branch information...
commit 9f0260762a912c01a7970d35255a3cc016ef437e 1 parent cbbc29e
authored March 19, 2009
18  Rakefile
... ...
@@ -1,21 +1,11 @@
1 1
 require 'rake'
2  
-require 'rake/testtask'
3  
-require 'rake/rdoctask'
  2
+require 'spec/rake/spectask'
4 3
 
5  
-desc 'Default: run specs'
  4
+desc 'Default: run specs.'
6 5
 task :default => :spec
7 6
 
8  
-require File.dirname(__FILE__) + '/../rspec/lib/spec/rake/spectask'
9  
-desc "Run all specs in spec directory"
  7
+desc 'Run the specs'
10 8
 Spec::Rake::SpecTask.new(:spec) do |t|
  9
+  t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
11 10
   t.spec_files = FileList['spec/**/*_spec.rb']
12 11
 end
13  
-
14  
-desc 'Generate documentation for the translate plugin.'
15  
-Rake::RDocTask.new(:rdoc) do |rdoc|
16  
-  rdoc.rdoc_dir = 'rdoc'
17  
-  rdoc.title    = 'Translate'
18  
-  rdoc.options << '--line-numbers' << '--inline-source'
19  
-  rdoc.rdoc_files.include('README')
20  
-  rdoc.rdoc_files.include('lib/**/*.rb')
21  
-end
3  lib/translate/keys.rb
@@ -76,7 +76,8 @@ def i18n_lookup_pattern
76 76
   end
77 77
 
78 78
   def files_to_scan
79  
-    Dir.glob(File.join(files_root_dir, "{app,config,lib}", "**","*.{rb,erb,rhtml}"))
  79
+    Dir.glob(File.join(files_root_dir, "{app,config,lib}", "**","*.{rb,erb,rhtml}")) +
  80
+      Dir.glob(File.join(files_root_dir, "public", "javascripts", "**","*.js"))
80 81
   end
81 82
   
82 83
   def files_root_dir
595  spec/debug.log
... ...
@@ -0,0 +1,595 @@
  1
+# Logfile created on Thu Mar 19 11:37:31 +0100 2009 by /
  2
+Unable to load roles_user, underlying cause no such file to load -- roles_user 
  3
+
  4
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  5
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  6
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  7
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  8
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  9
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  10
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  11
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  12
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  13
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  14
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  15
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  16
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  17
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  18
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  19
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  20
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  21
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  22
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  23
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  24
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  25
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  26
+./spec/controllers/translate_controller_spec.rb:1
  27
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  28
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  29
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  30
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  31
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  32
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  33
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  34
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  35
+Unable to load rights_role, underlying cause no such file to load -- rights_role 
  36
+
  37
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  38
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  39
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  40
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  41
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  42
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  43
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  44
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  45
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  46
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  47
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  48
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  49
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  50
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  51
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  52
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  53
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  54
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  55
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  56
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  57
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  58
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  59
+./spec/controllers/translate_controller_spec.rb:1
  60
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  61
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  62
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  63
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  64
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  65
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  66
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  67
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  68
+Unable to load tag, underlying cause no such file to load -- tag 
  69
+
  70
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  71
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  72
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  73
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  74
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  75
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  76
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  77
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  78
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  79
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  80
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  81
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  82
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  83
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  84
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  85
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  86
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  87
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  88
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  89
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  90
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  91
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  92
+./spec/controllers/translate_controller_spec.rb:1
  93
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  94
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  95
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  96
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  97
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  98
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  99
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  100
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  101
+Unable to load tagging, underlying cause no such file to load -- tagging 
  102
+
  103
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  104
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  105
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  106
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  107
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  108
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  109
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  110
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  111
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  112
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  113
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  114
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  115
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  116
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  117
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  118
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  119
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  120
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  121
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  122
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  123
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  124
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  125
+./spec/controllers/translate_controller_spec.rb:1
  126
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  127
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  128
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  129
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  130
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  131
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  132
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  133
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  134
+Unable to load category_translation, underlying cause no such file to load -- category_translation 
  135
+
  136
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  137
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  138
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  139
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  140
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  141
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  142
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  143
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  144
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  145
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  146
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  147
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  148
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  149
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  150
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  151
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  152
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  153
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  154
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  155
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  156
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  157
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  158
+./spec/controllers/translate_controller_spec.rb:1
  159
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  160
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  161
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  162
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  163
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  164
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  165
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  166
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  167
+Unable to load categories_source, underlying cause no such file to load -- categories_source 
  168
+
  169
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  170
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  171
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  172
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  173
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  174
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  175
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  176
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  177
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  178
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  179
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  180
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  181
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  182
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  183
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  184
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  185
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  186
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  187
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  188
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  189
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  190
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  191
+./spec/controllers/translate_controller_spec.rb:1
  192
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  193
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  194
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  195
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  196
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  197
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  198
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  199
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  200
+Unable to load roles_user, underlying cause no such file to load -- roles_user 
  201
+
  202
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  203
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  204
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  205
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  206
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  207
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  208
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  209
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  210
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  211
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  212
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  213
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  214
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  215
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  216
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  217
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  218
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  219
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  220
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  221
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  222
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  223
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  224
+./spec/controllers/translate_controller_spec.rb:1
  225
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  226
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  227
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  228
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  229
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  230
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  231
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  232
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  233
+Unable to load rights_role, underlying cause no such file to load -- rights_role 
  234
+
  235
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  236
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  237
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  238
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  239
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  240
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  241
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  242
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  243
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  244
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  245
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  246
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  247
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  248
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  249
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  250
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  251
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  252
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  253
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  254
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  255
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  256
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  257
+./spec/controllers/translate_controller_spec.rb:1
  258
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  259
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  260
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  261
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  262
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  263
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  264
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  265
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  266
+Unable to load tag, underlying cause no such file to load -- tag 
  267
+
  268
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  269
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  270
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  271
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  272
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  273
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  274
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  275
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  276
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  277
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  278
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  279
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  280
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  281
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  282
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  283
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  284
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  285
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  286
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  287
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  288
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  289
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  290
+./spec/controllers/translate_controller_spec.rb:1
  291
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  292
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  293
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  294
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  295
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  296
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  297
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  298
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  299
+Unable to load tagging, underlying cause no such file to load -- tagging 
  300
+
  301
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  302
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  303
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  304
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  305
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  306
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  307
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  308
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  309
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  310
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  311
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  312
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  313
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  314
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  315
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  316
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  317
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  318
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  319
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  320
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  321
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  322
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  323
+./spec/controllers/translate_controller_spec.rb:1
  324
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  325
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  326
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  327
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  328
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  329
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  330
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  331
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  332
+Unable to load category_translation, underlying cause no such file to load -- category_translation 
  333
+
  334
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  335
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  336
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  337
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  338
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  339
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  340
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  341
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  342
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  343
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  344
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  345
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  346
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  347
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  348
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  349
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  350
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  351
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  352
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  353
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  354
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  355
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  356
+./spec/controllers/translate_controller_spec.rb:1
  357
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  358
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  359
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  360
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  361
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  362
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  363
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  364
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  365
+Unable to load categories_source, underlying cause no such file to load -- categories_source 
  366
+
  367
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  368
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  369
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  370
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  371
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  372
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  373
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  374
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  375
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  376
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  377
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  378
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  379
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  380
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  381
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  382
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  383
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  384
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  385
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  386
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  387
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  388
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  389
+./spec/controllers/translate_controller_spec.rb:1
  390
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  391
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  392
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  393
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  394
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  395
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  396
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  397
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  398
+Unable to load roles_user, underlying cause no such file to load -- roles_user 
  399
+
  400
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  401
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  402
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  403
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  404
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  405
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  406
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  407
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  408
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  409
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  410
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  411
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  412
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  413
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  414
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  415
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  416
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  417
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  418
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  419
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  420
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  421
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  422
+./spec/controllers/translate_controller_spec.rb:1
  423
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  424
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  425
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  426
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  427
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  428
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  429
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  430
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  431
+Unable to load rights_role, underlying cause no such file to load -- rights_role 
  432
+
  433
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  434
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  435
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  436
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  437
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  438
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  439
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  440
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  441
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  442
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  443
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  444
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  445
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  446
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  447
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  448
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  449
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  450
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  451
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  452
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  453
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  454
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  455
+./spec/controllers/translate_controller_spec.rb:1
  456
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  457
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  458
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  459
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  460
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  461
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  462
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  463
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  464
+Unable to load tag, underlying cause no such file to load -- tag 
  465
+
  466
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  467
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  468
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  469
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  470
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  471
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  472
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  473
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  474
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  475
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  476
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  477
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  478
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  479
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  480
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  481
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  482
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  483
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  484
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  485
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  486
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  487
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  488
+./spec/controllers/translate_controller_spec.rb:1
  489
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  490
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  491
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  492
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  493
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  494
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  495
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  496
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  497
+Unable to load tagging, underlying cause no such file to load -- tagging 
  498
+
  499
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  500
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  501
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  502
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  503
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  504
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  505
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  506
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  507
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  508
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  509
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  510
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  511
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  512
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  513
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  514
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  515
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  516
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  517
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  518
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  519
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  520
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  521
+./spec/controllers/translate_controller_spec.rb:1
  522
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  523
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  524
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  525
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  526
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  527
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  528
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  529
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  530
+Unable to load category_translation, underlying cause no such file to load -- category_translation 
  531
+
  532
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  533
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  534
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  535
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  536
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  537
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  538
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  539
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  540
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  541
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  542
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  543
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  544
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  545
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  546
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  547
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  548
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  549
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  550
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  551
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  552
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  553
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  554
+./spec/controllers/translate_controller_spec.rb:1
  555
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  556
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  557
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  558
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  559
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  560
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  561
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  562
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
  563
+Unable to load categories_source, underlying cause no such file to load -- categories_source 
  564
+
  565
+ /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  566
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  567
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  568
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load'
  569
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on'
  570
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency'
  571
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:850:in `try_to_load_dependency'
  572
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:865:in `require_fixture_classes'
  573
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `each'
  574
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:862:in `require_fixture_classes'
  575
+/Users/peter/src/newsdesk/vendor/rails/activerecord/lib/active_record/fixtures.rb:845:in `fixtures'
  576
+/Users/peter/src/newsdesk/vendor/gems/rspec-rails-1.2.0/lib/spec/rails/extensions/spec/runner/configuration.rb:39:in `global_fixtures='
  577
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:28
  578
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner.rb:40:in `configure'
  579
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/../../../../spec/spec_helper.rb:10
  580
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  581
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  582
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  583
+/Users/peter/src/newsdesk/vendor/plugins/translate/spec/spec_helper.rb:2
  584
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  585
+/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  586
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
  587
+./spec/controllers/translate_controller_spec.rb:1
  588
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
  589
+/Users/peter/src/newsdesk/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
  590
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
  591
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `each'
  592
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
  593
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/options.rb:87:in `run_examples'
  594
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/lib/spec/runner/command_line.rb:9:in `run'
  595
+/Library/Ruby/Gems/1.8/gems/rspec-1.2.0/bin/spec:4
1  spec/files/translate/public/javascripts/application.js
... ...
@@ -0,0 +1 @@
  1
+I18n.t('js.alert')
2  spec/keys_spec.rb
@@ -9,7 +9,7 @@
9 9
   describe "to_a" do
10 10
     it "extracts keys from I18n lookups in .rb, .html.erb, and .rhtml files" do
11 11
       @keys.to_a.map(&:to_s).sort.should == ['article.key1', 'article.key2', 'article.key3', 'article.key4', 'article.key5',
12  
-        'category_erb.key1', 'category_html_erb.key1', 'category_rhtml.key1']
  12
+        'category_erb.key1', 'category_html_erb.key1', 'category_rhtml.key1', 'js.alert']
13 13
     end
14 14
   end
15 15
   
15  spec/spec_helper.rb
... ...
@@ -1,8 +1,9 @@
1  
-ENV["RAILS_ENV"] = "test"
2  
-require File.join(File.dirname(__FILE__), "/../../../../config/environment")
3  
-require 'spec/rails'
4  
-
5  
-Spec::Runner.configure do |config|
6  
-  config.use_transactional_fixtures = true
7  
-  config.use_instantiated_fixtures  = false
  1
+begin
  2
+  require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
  3
+rescue LoadError
  4
+  puts "You need to install rspec in your base app"
  5
+  exit
8 6
 end
  7
+
  8
+plugin_spec_dir = File.dirname(__FILE__)
  9
+ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")

0 notes on commit 9f02607

Please sign in to comment.
Something went wrong with that request. Please try again.