mirror of https://github.com/rails/rails
Remove unneeded test fixtures in AV
This commit is contained in:
parent
b01331e392
commit
f12109448b
|
@ -1 +0,0 @@
|
|||
top level partial html
|
|
@ -1 +0,0 @@
|
|||
absolute/*
|
|
@ -1 +0,0 @@
|
|||
/blog/blog.html
|
|
@ -1 +0,0 @@
|
|||
/blog/index.html
|
|
@ -1 +0,0 @@
|
|||
/blog/subdir/index.html
|
|
@ -1 +0,0 @@
|
|||
<h1>Kein Kommentar</h1>
|
|
@ -1 +0,0 @@
|
|||
xml.h1 'No Comment'
|
|
@ -1 +0,0 @@
|
|||
<h1>No Comment</h1>
|
|
@ -1 +0,0 @@
|
|||
<error>No Comment</error>
|
|
@ -1,24 +0,0 @@
|
|||
thirty_seven_signals:
|
||||
id: 1
|
||||
name: 37Signals
|
||||
rating: 4
|
||||
|
||||
TextDrive:
|
||||
id: 2
|
||||
name: TextDrive
|
||||
rating: 4
|
||||
|
||||
PlanetArgon:
|
||||
id: 3
|
||||
name: Planet Argon
|
||||
rating: 4
|
||||
|
||||
Google:
|
||||
id: 4
|
||||
name: Google
|
||||
rating: 4
|
||||
|
||||
Ionist:
|
||||
id: 5
|
||||
name: Ioni.st
|
||||
rating: 4
|
|
@ -1 +0,0 @@
|
|||
Hello custom patterns!
|
|
@ -1 +0,0 @@
|
|||
Another template!
|
|
@ -1 +0,0 @@
|
|||
Hello custom patterns!
|
|
@ -1,10 +0,0 @@
|
|||
class Developer < ActiveRecord::Base
|
||||
has_and_belongs_to_many :projects
|
||||
has_many :replies
|
||||
has_many :topics, :through => :replies
|
||||
accepts_nested_attributes_for :projects
|
||||
end
|
||||
|
||||
class DeVeLoPeR < ActiveRecord::Base
|
||||
self.table_name = "developers"
|
||||
end
|
|
@ -1,21 +0,0 @@
|
|||
david:
|
||||
id: 1
|
||||
name: David
|
||||
salary: 80000
|
||||
|
||||
jamis:
|
||||
id: 2
|
||||
name: Jamis
|
||||
salary: 150000
|
||||
|
||||
<% (3..10).each do |digit| %>
|
||||
dev_<%= digit %>:
|
||||
id: <%= digit %>
|
||||
name: fixture_<%= digit %>
|
||||
salary: 100000
|
||||
<% end %>
|
||||
|
||||
poor_jamis:
|
||||
id: 11
|
||||
name: Jamis
|
||||
salary: 9000
|
|
@ -1 +0,0 @@
|
|||
<%= developer.name %>
|
|
@ -1,13 +0,0 @@
|
|||
david_action_controller:
|
||||
developer_id: 1
|
||||
project_id: 2
|
||||
joined_on: 2004-10-10
|
||||
|
||||
david_active_record:
|
||||
developer_id: 1
|
||||
project_id: 1
|
||||
joined_on: 2004-10-10
|
||||
|
||||
jamis_active_record:
|
||||
developer_id: 2
|
||||
project_id: 1
|
|
@ -1 +0,0 @@
|
|||
Fun <%= game.name %>
|
|
@ -1 +0,0 @@
|
|||
Serious <%= game.name %>
|
|
@ -1 +0,0 @@
|
|||
Just <%= game.name %>
|
|
@ -1 +0,0 @@
|
|||
Hello world!
|
|
@ -1 +0,0 @@
|
|||
alt/hello.erb
|
|
@ -1,2 +0,0 @@
|
|||
<div id="column"><%= yield :column %></div>
|
||||
<div id="content"><%= yield %></div>
|
|
@ -1,2 +0,0 @@
|
|||
<%= render :partial => 'test/partial' %>
|
||||
<%= yield %>
|
|
@ -1 +0,0 @@
|
|||
<%= yield %>
|
|
@ -1 +0,0 @@
|
|||
<%= yield 'Yield!' %>
|
|
@ -1,4 +0,0 @@
|
|||
<%= yield :header -%>
|
||||
<%= yield -%>
|
||||
<%= yield :footer -%>
|
||||
<%= yield(:unknown).presence || "." -%>
|
|
@ -1,2 +0,0 @@
|
|||
<%= render :inline => 'welcome' %>
|
||||
<%= yield %>
|
|
@ -1,2 +0,0 @@
|
|||
<%= render :partial => 'test/partial' %>
|
||||
<%= yield %>
|
|
@ -1,3 +0,0 @@
|
|||
class Mascot < ActiveRecord::Base
|
||||
belongs_to :company
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
upload_bird:
|
||||
id: 1
|
||||
company_id: 1
|
||||
name: The Upload Bird
|
|
@ -1 +0,0 @@
|
|||
<%= mascot.name %>
|
|
@ -1 +0,0 @@
|
|||
<%= hello_world %>
|
|
@ -1 +0,0 @@
|
|||
Here are some characters: !@#$%^&*()-="'}{`
|
|
@ -1,3 +0,0 @@
|
|||
class Project < ActiveRecord::Base
|
||||
has_and_belongs_to_many :developers, -> { uniq }
|
||||
end
|
|
@ -1,7 +0,0 @@
|
|||
action_controller:
|
||||
id: 2
|
||||
name: Active Controller
|
||||
|
||||
active_record:
|
||||
id: 1
|
||||
name: Active Record
|
|
@ -1 +0,0 @@
|
|||
<%= project.name %>
|
|
@ -1 +0,0 @@
|
|||
absolute/*
|
|
@ -1 +0,0 @@
|
|||
// cools.js
|
|
@ -1 +0,0 @@
|
|||
/*file.css*/
|
|
@ -1 +0,0 @@
|
|||
// application js
|
|
@ -1 +0,0 @@
|
|||
// bank js
|
|
@ -1 +0,0 @@
|
|||
// common.javascript
|
|
@ -1 +0,0 @@
|
|||
// controls js
|
|
@ -1 +0,0 @@
|
|||
// dragdrop js
|
|
@ -1 +0,0 @@
|
|||
// effects js
|
|
@ -1 +0,0 @@
|
|||
// prototype js
|
|
@ -1 +0,0 @@
|
|||
// robber js
|
|
@ -1 +0,0 @@
|
|||
// subdir js
|
|
@ -1 +0,0 @@
|
|||
// version.1.0 js
|
|
@ -1 +0,0 @@
|
|||
/* bank.css */
|
|
@ -1 +0,0 @@
|
|||
/* random.styles */
|
|
@ -1 +0,0 @@
|
|||
/* robber.css */
|
|
@ -1 +0,0 @@
|
|||
/* subdir.css */
|
|
@ -1 +0,0 @@
|
|||
/* version.1.0.css */
|
|
@ -1,15 +0,0 @@
|
|||
witty_retort:
|
||||
id: 1
|
||||
topic_id: 1
|
||||
developer_id: 1
|
||||
content: Birdman is better!
|
||||
created_at: <%= 6.hours.ago.to_s(:db) %>
|
||||
updated_at: nil
|
||||
|
||||
another:
|
||||
id: 2
|
||||
topic_id: 2
|
||||
developer_id: 1
|
||||
content: Nuh uh!
|
||||
created_at: <%= 1.hour.ago.to_s(:db) %>
|
||||
updated_at: nil
|
|
@ -1 +0,0 @@
|
|||
<%= reply.content %>
|
|
@ -1,7 +0,0 @@
|
|||
class Reply < ActiveRecord::Base
|
||||
scope :base, -> { all }
|
||||
belongs_to :topic, -> { includes(:replies) }
|
||||
belongs_to :developer
|
||||
|
||||
validates_presence_of :content
|
||||
end
|
|
@ -1 +0,0 @@
|
|||
<p>Beautiful modules!</p>
|
|
@ -1 +0,0 @@
|
|||
<h1>Invalid partial</h1>
|
|
@ -1 +0,0 @@
|
|||
<b><%= yield %></b>
|
|
@ -1 +0,0 @@
|
|||
<b class="<%= customer.name.downcase %>"><%= yield %></b>
|
|
@ -1 +0,0 @@
|
|||
<b data-counter="<%= customer_counter %>"><%= yield %></b>
|
|
@ -1,3 +0,0 @@
|
|||
<%= content_tag 'p' do %>
|
||||
<%= content_tag 'b', 'Hello' %>
|
||||
<% end %>
|
|
@ -1 +0,0 @@
|
|||
<%= render_from_helper %>
|
|
@ -1,4 +0,0 @@
|
|||
<%= label 'post', 'message' do %>
|
||||
Message
|
||||
<%= text_field 'post', 'message' %>
|
||||
<% end %>
|
|
@ -1,3 +0,0 @@
|
|||
Before
|
||||
<%= yield 'arg1', 'arg2' %>
|
||||
After
|
|
@ -1,4 +0,0 @@
|
|||
Before
|
||||
<%= render :partial => "test/partial" %>
|
||||
<%= yield %>
|
||||
After
|
|
@ -1 +0,0 @@
|
|||
<%= local_assigns.keys.map {|k| k.to_s }.sort.join(",") -%>
|
|
@ -1 +0,0 @@
|
|||
<%= object_inspector.inspect -%>
|
|
@ -1 +0,0 @@
|
|||
<%= render :partial => "two" %> world
|
|
@ -1,2 +0,0 @@
|
|||
<%= render :partial => 'test/partial', :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } %>
|
||||
partial with layout
|
|
@ -1,4 +0,0 @@
|
|||
<%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %>
|
||||
Content from inside layout!
|
||||
<% end %>
|
||||
partial with layout
|
|
@ -1,4 +0,0 @@
|
|||
<%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %>
|
||||
<%= render 'test/partial' %>
|
||||
<% end %>
|
||||
partial with layout
|
|
@ -1 +0,0 @@
|
|||
partial with only html version
|
|
@ -1 +0,0 @@
|
|||
<%= doesnt_exist %>
|
|
@ -1 +0,0 @@
|
|||
Hello
|
|
@ -1 +0,0 @@
|
|||
<%= "текст" %>
|
|
@ -1,2 +0,0 @@
|
|||
<%# encoding: utf-8 -%>
|
||||
<%= "текст" %>
|
|
@ -1 +0,0 @@
|
|||
Hello from basic.html.erb
|
|
@ -1 +0,0 @@
|
|||
non-template file
|
|
@ -1 +0,0 @@
|
|||
Hey verden
|
|
@ -1 +0,0 @@
|
|||
Don't pick me!
|
|
@ -1 +0,0 @@
|
|||
Ola mundo
|
|
@ -1,2 +0,0 @@
|
|||
<% content_for :title do %>title<% end -%>
|
||||
<%= render :file => 'layouts/yield' -%>
|
|
@ -1 +0,0 @@
|
|||
<%= render :layout => "layouts/customers" do |customer| %><%= customer.name %><% end %>
|
|
@ -1 +0,0 @@
|
|||
Don't render me!
|
|
@ -1 +0,0 @@
|
|||
Don't render me!
|
|
@ -1 +0,0 @@
|
|||
Don't render me!
|
|
@ -1,3 +0,0 @@
|
|||
<% content_for :title, "title" -%>
|
||||
<% content_for :column do -%>column<% end -%>
|
||||
<%= render :layout => 'layouts/column' do -%>content<% end -%>
|
|
@ -1,3 +0,0 @@
|
|||
<%- content_for :header do -%>?<%- end -%>
|
||||
<%= render :template => "test/streaming" %>
|
||||
?
|
|
@ -1 +0,0 @@
|
|||
<%= render :partial => "test/two" %> world
|
|
@ -1,3 +0,0 @@
|
|||
<%- provide :header do -%>Yes, <%- end -%>
|
||||
this works
|
||||
<%- content_for :footer, " like a charm" -%>
|
|
@ -1,3 +0,0 @@
|
|||
<%= yield :foo -%>
|
||||
This won't look
|
||||
<% provide :unknown, " good." -%>
|
|
@ -1 +0,0 @@
|
|||
<%= render :partial => "test/raise" %>
|
|
@ -1 +0,0 @@
|
|||
<%= template.path %>
|
|
@ -1,9 +0,0 @@
|
|||
<% replacement_function = update_element_function("products", :action => :update) do %>
|
||||
<p>Product 1</p>
|
||||
<p>Product 2</p>
|
||||
<% end %>
|
||||
<%= javascript_tag(replacement_function) %>
|
||||
|
||||
<% update_element_function("status", :action => :update, :binding => binding) do %>
|
||||
<b>You bought something!</b>
|
||||
<% end %>
|
|
@ -1,4 +0,0 @@
|
|||
Русский <%= render :partial => 'test/utf8_partial' %>
|
||||
<%= "日".encoding %>
|
||||
<%= @output_buffer.encoding %>
|
||||
<%= __ENCODING__ %>
|
|
@ -1,5 +0,0 @@
|
|||
<%# encoding: utf-8 -%>
|
||||
Русский <%= render :partial => 'test/utf8_partial_magic' %>
|
||||
<%= "日".encoding %>
|
||||
<%= @output_buffer.encoding %>
|
||||
<%= __ENCODING__ %>
|
|
@ -1,5 +0,0 @@
|
|||
<%# encoding: utf-8 -%>
|
||||
Русский <%= render :partial => 'test/utf8_partial' %>
|
||||
<%= "日".encoding %>
|
||||
<%= @output_buffer.encoding %>
|
||||
<%= __ENCODING__ %>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue