From b451de0d6de4df6bc66b274cec73b919f823d5ae Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sat, 14 Aug 2010 02:13:00 -0300 Subject: Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) --- actionpack/test/fixtures/companies.yml | 2 +- actionpack/test/fixtures/company.rb | 2 +- actionpack/test/fixtures/db_definitions/sqlite.sql | 20 ++++++++++---------- actionpack/test/fixtures/replies.yml | 2 +- .../test/fixtures/test/hello_xml_world.builder | 2 +- actionpack/test/fixtures/topics.yml | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/companies.yml b/actionpack/test/fixtures/companies.yml index 707f72abc6..ed2992e0b1 100644 --- a/actionpack/test/fixtures/companies.yml +++ b/actionpack/test/fixtures/companies.yml @@ -17,7 +17,7 @@ Google: id: 4 name: Google rating: 4 - + Ionist: id: 5 name: Ioni.st diff --git a/actionpack/test/fixtures/company.rb b/actionpack/test/fixtures/company.rb index cbbd0edb14..cd39ea7898 100644 --- a/actionpack/test/fixtures/company.rb +++ b/actionpack/test/fixtures/company.rb @@ -6,5 +6,5 @@ class Company < ActiveRecord::Base validates_presence_of :name def validate errors.add('rating', 'rating should not be 2') if rating == 2 - end + end end \ No newline at end of file diff --git a/actionpack/test/fixtures/db_definitions/sqlite.sql b/actionpack/test/fixtures/db_definitions/sqlite.sql index 8e1947d14a..99df4b3e61 100644 --- a/actionpack/test/fixtures/db_definitions/sqlite.sql +++ b/actionpack/test/fixtures/db_definitions/sqlite.sql @@ -5,20 +5,20 @@ CREATE TABLE 'companies' ( ); CREATE TABLE 'replies' ( - 'id' INTEGER PRIMARY KEY NOT NULL, - 'content' text, - 'created_at' datetime, - 'updated_at' datetime, + 'id' INTEGER PRIMARY KEY NOT NULL, + 'content' text, + 'created_at' datetime, + 'updated_at' datetime, 'topic_id' integer, 'developer_id' integer ); CREATE TABLE 'topics' ( - 'id' INTEGER PRIMARY KEY NOT NULL, - 'title' varchar(255), - 'subtitle' varchar(255), - 'content' text, - 'created_at' datetime, + 'id' INTEGER PRIMARY KEY NOT NULL, + 'title' varchar(255), + 'subtitle' varchar(255), + 'content' text, + 'created_at' datetime, 'updated_at' datetime ); @@ -43,7 +43,7 @@ CREATE TABLE 'developers_projects' ( ); CREATE TABLE 'mascots' ( - 'id' INTEGER PRIMARY KEY NOT NULL, + 'id' INTEGER PRIMARY KEY NOT NULL, 'company_id' INTEGER NOT NULL, 'name' TEXT DEFAULT NULL ); \ No newline at end of file diff --git a/actionpack/test/fixtures/replies.yml b/actionpack/test/fixtures/replies.yml index 66020b706a..2a3454b8bf 100644 --- a/actionpack/test/fixtures/replies.yml +++ b/actionpack/test/fixtures/replies.yml @@ -5,7 +5,7 @@ witty_retort: content: Birdman is better! created_at: <%= 6.hours.ago.to_s(:db) %> updated_at: nil - + another: id: 2 topic_id: 2 diff --git a/actionpack/test/fixtures/test/hello_xml_world.builder b/actionpack/test/fixtures/test/hello_xml_world.builder index 02b14fe87c..e7081b89fe 100644 --- a/actionpack/test/fixtures/test/hello_xml_world.builder +++ b/actionpack/test/fixtures/test/hello_xml_world.builder @@ -2,7 +2,7 @@ xml.html do xml.head do xml.title "Hello World" end - + xml.body do xml.p "abes" xml.p "monks" diff --git a/actionpack/test/fixtures/topics.yml b/actionpack/test/fixtures/topics.yml index 61ea02d76f..7fdd49d54e 100644 --- a/actionpack/test/fixtures/topics.yml +++ b/actionpack/test/fixtures/topics.yml @@ -5,7 +5,7 @@ futurama: content: I like futurama created_at: <%= 1.day.ago.to_s(:db) %> updated_at: - + harvey_birdman: id: 2 title: Harvey Birdman is the king of all men -- cgit v1.2.3