clean up test files, removed dispensable helper/controller files

This commit is contained in:
Thomas Buchöster
2011-06-10 02:18:55 +02:00
parent 028ef78436
commit 6f1f51194d
25 changed files with 21 additions and 109 deletions
-5
View File
@@ -1,5 +0,0 @@
class SidebarController < ApplicationController
def index
end
end
-2
View File
@@ -1,2 +0,0 @@
module ArtistHelper
end
-2
View File
@@ -1,2 +0,0 @@
module ChartsHelper
end
-2
View File
@@ -1,2 +0,0 @@
module HomeHelper
end
-2
View File
@@ -1,2 +0,0 @@
module SearchHelper
end
-2
View File
@@ -1,2 +0,0 @@
module SidebarHelper
end
-2
View File
@@ -1,2 +0,0 @@
module TracksHelper
end
@@ -1,12 +0,0 @@
<h2>Resend confirmation instructions</h2>
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.email_field :email %></p>
<p><%= f.submit "Resend confirmation instructions" %></p>
<% end %>
<%= render :partial => "devise/shared/links" %>
@@ -1,5 +0,0 @@
<p>Welcome <%= @resource.email %>!</p>
<p>You can confirm your account through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p>
@@ -1,8 +0,0 @@
<p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>
@@ -1,7 +0,0 @@
<p>Hello <%= @resource.email %>!</p>
<p>Your account has been locked due to an excessive amount of unsuccessful sign in attempts.</p>
<p>Click the link below to unlock your account:</p>
<p><%= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token) %></p>
-12
View File
@@ -1,12 +0,0 @@
<h2>Resend unlock instructions</h2>
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.email_field :email %></p>
<p><%= f.submit "Resend unlock instructions" %></p>
<% end %>
<%= render :partial => "devise/shared/links" %>
+2 -2
View File
@@ -2,8 +2,8 @@
one:
name: MyString
owner:
user_id:
two:
name: MyString
owner:
user_id:
+4 -4
View File
@@ -1,13 +1,13 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
playlist:
track:
playlist_id:
track_id:
youtube_id: MyString
position: 1
two:
playlist:
track:
playlist_id:
track_id:
youtube_id: MyString
position: 1
+6 -5
View File
@@ -4,8 +4,9 @@
# model remove the '{}' from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
# column: value
one:
username: MyString1
email: bla@example.org
two:
username: MyString2
email: bli@example.org
@@ -1,9 +1,5 @@
require 'test_helper'
class ChartsControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end
@@ -1,9 +0,0 @@
require 'test_helper'
class SidebarControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end
+5
View File
@@ -0,0 +1,5 @@
require 'test_helper'
class UsersControllerTest < ActionController::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class ArtistHelperTest < ActionView::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class ChartsHelperTest < ActionView::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class HomeHelperTest < ActionView::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class SearchHelperTest < ActionView::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class SidebarHelperTest < ActionView::TestCase
end
-4
View File
@@ -1,4 +0,0 @@
require 'test_helper'
class TracksHelperTest < ActionView::TestCase
end
+4
View File
@@ -0,0 +1,4 @@
require 'test_helper'
class UsersHelperTest < ActionView::TestCase
end