From 095eac542cd1ef194a3da6322987c7e02801609d Mon Sep 17 00:00:00 2001 From: jywarren Date: Thu, 4 Apr 2013 16:21:00 -0600 Subject: [PATCH] rake tasks nicely failing --- .gitignore | 1 + app/models/drupal_main_image.rb | 2 +- public/bookmarklet.js | 1 + public/favicon.ico | Bin 0 -> 193 bytes test/fixtures/drupal_nodes.yml | 11 ----------- test/fixtures/node.yml | 20 ++++++++++++++++++++ test/fixtures/rusers.yml | 9 +++++++++ test/fixtures/users.yml | 9 --------- test/integration/public_pages_test.rb | 21 +++++++++++++++++++++ test/unit/comment_test.rb | 13 ------------- test/unit/drupal_comment_test.rb | 14 ++++++++++++++ test/unit/drupal_node_test.rb | 7 +++++++ test/unit/user_test.rb | 2 ++ vendor/plugins/.gitkeep | 0 14 files changed, 76 insertions(+), 34 deletions(-) create mode 100644 public/bookmarklet.js delete mode 100644 test/fixtures/drupal_nodes.yml create mode 100644 test/fixtures/node.yml create mode 100644 test/fixtures/rusers.yml delete mode 100644 test/fixtures/users.yml create mode 100644 test/integration/public_pages_test.rb delete mode 100644 test/unit/comment_test.rb create mode 100644 test/unit/drupal_comment_test.rb delete mode 100644 vendor/plugins/.gitkeep diff --git a/.gitignore b/.gitignore index bef3477797..af81d5a636 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ config/initializers/recaptcha.rb config/config.yml config/initializers/site_keys.rb Gemfile.lock +/public/system* diff --git a/app/models/drupal_main_image.rb b/app/models/drupal_main_image.rb index f13e6a6f23..33f42926cb 100644 --- a/app/models/drupal_main_image.rb +++ b/app/models/drupal_main_image.rb @@ -1,6 +1,6 @@ class DrupalMainImage < ActiveRecord::Base - self.table_name 'content_field_main_image' + self.table_name = 'content_field_main_image' self.primary_key = 'vid' belongs_to :drupal_node, :foreign_key => 'vid' diff --git a/public/bookmarklet.js b/public/bookmarklet.js new file mode 100644 index 0000000000..09ef22a667 --- /dev/null +++ b/public/bookmarklet.js @@ -0,0 +1 @@ +javascript:(function alpha() { if ((window.location+'').split('publiclaboratory')[0] == 'http://' || (window.location+'').split('publiclaboratory')[0] == 'http://www.') { window.location = 'http://alpha.'+(window.location+'').split('://')[1] } else { window.location = 'http://'+(window.location+'').split('://alpha.')[1] }})() diff --git a/public/favicon.ico b/public/favicon.ico index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7397a951427d39a938d4a8f6d994be6501d8251b 100644 GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`9iA?ZAr}5;Cp!uqP~c#G`oBM~ z+t@&{H!1(?HKFSg2iK+ZMx`Cw|7`mNK4*uV5GVE(RZM$!+*%>iR>o9O{9NUZ#S>Ns ziS$N3=jWMIWkMS=r>}c?OPL|