Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Start on controllers and views. Use RSpec instead of Test::Unit

  • Loading branch information...
commit 911ca1b7788b78a0eaffb5121a3862b896b76559 1 parent 4ee1e63
Zuhao Wan authored
Showing with 260 additions and 287 deletions.
  1. +1 −0  .rspec
  2. +10 −0 Gemfile
  3. +38 −0 Gemfile.lock
  4. +3 −0  app/assets/javascripts/gemcomments.js.coffee
  5. +3 −0  app/assets/javascripts/home.js.coffee
  6. +3 −0  app/assets/javascripts/rpmcomments.js.coffee
  7. +3 −0  app/assets/stylesheets/gemcomments.css.scss
  8. +3 −0  app/assets/stylesheets/home.css.scss
  9. +3 −0  app/assets/stylesheets/rpmcomments.css.scss
  10. +4 −2 app/controllers/fedorarpms_controller.rb
  11. +12 −0 app/controllers/gemcomments_controller.rb
  12. +5 −0 app/controllers/home_controller.rb
  13. +2 −0  app/controllers/rpmcomments_controller.rb
  14. +4 −2 app/controllers/rubygems_controller.rb
  15. +2 −0  app/helpers/gemcomments_helper.rb
  16. +2 −0  app/helpers/home_helper.rb
  17. +2 −0  app/helpers/rpmcomments_helper.rb
  18. +1 −1  app/models/fedora_rpm.rb
  19. +1 −1  app/models/ruby_gem.rb
  20. +0 −11 app/views/fedorarpms/all.html.haml
  21. +15 −0 app/views/fedorarpms/index.html.haml
  22. +5 −4 app/views/fedorarpms/show.html.haml
  23. +2 −0  app/views/gemcomments/_comments.html.haml
  24. +4 −0 app/views/gemcomments/_new_comment.html.haml
  25. +10 −0 app/views/home/show.html.haml
  26. +4 −5 app/views/layouts/application.html.haml
  27. +0 −11 app/views/rubygems/all.html.haml
  28. +15 −0 app/views/rubygems/index.html.haml
  29. +30 −4 app/views/rubygems/show.html.haml
  30. +8 −5 config/routes.rb
  31. BIN  db/development.sqlite3
  32. +0 −241 public/index.html
  33. +32 −0 spec/spec_helper.rb
  34. +7 −0 test/functional/gemcomments_controller_test.rb
  35. +7 −0 test/functional/home_controller_test.rb
  36. +7 −0 test/functional/rpmcomments_controller_test.rb
  37. +4 −0 test/unit/helpers/gemcomments_helper_test.rb
  38. +4 −0 test/unit/helpers/home_helper_test.rb
  39. +4 −0 test/unit/helpers/rpmcomments_helper_test.rb
1  .rspec
View
@@ -0,0 +1 @@
+--colour
10 Gemfile
View
@@ -19,6 +19,16 @@ gem 'haml-rails'
gem 'haml'
gem 'execjs'
+
+group :test, :development do
+ gem 'rspec-rails', '~> 2.0'
+ gem 'capybara'
+end
+
+group :production do
+
+end
+
# gem 'grit'
# gem 'git' # ruby-git seems to have better support on remote repo than grit
38 Gemfile.lock
View
@@ -28,8 +28,18 @@ GEM
activesupport (3.2.3)
i18n (~> 0.6)
multi_json (~> 1.0)
+ addressable (2.2.8)
arel (3.0.2)
builder (3.0.0)
+ capybara (1.1.2)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (~> 2.0)
+ xpath (~> 0.1.4)
+ childprocess (0.3.2)
+ ffi (~> 1.0.6)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
@@ -37,9 +47,11 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.3.1)
+ diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.3.0)
multi_json (~> 1.0)
+ ffi (1.0.11)
haml (3.1.6)
haml-rails (0.3.4)
actionpack (~> 3.0)
@@ -54,12 +66,15 @@ GEM
thor (~> 0.14)
json (1.6.6)
libv8 (3.3.10.4)
+ libwebsocket (0.1.3)
+ addressable
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.18)
multi_json (1.3.2)
+ nokogiri (1.5.5)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
@@ -86,11 +101,30 @@ GEM
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
+ rspec (2.10.0)
+ rspec-core (~> 2.10.0)
+ rspec-expectations (~> 2.10.0)
+ rspec-mocks (~> 2.10.0)
+ rspec-core (2.10.1)
+ rspec-expectations (2.10.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.10.1)
+ rspec-rails (2.10.1)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec (~> 2.10.0)
+ rubyzip (0.9.9)
sass (3.1.16)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
+ selenium-webdriver (2.24.0)
+ childprocess (>= 0.2.5)
+ libwebsocket (~> 0.1.3)
+ multi_json (~> 1.0)
+ rubyzip
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
@@ -107,17 +141,21 @@ GEM
uglifier (1.2.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
+ xpath (0.1.4)
+ nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
+ capybara
coffee-rails (~> 3.2.1)
execjs
haml
haml-rails
jquery-rails
rails (= 3.2.3)
+ rspec-rails (~> 2.0)
sass-rails (~> 3.2.3)
sqlite3
therubyracer
3  app/assets/javascripts/gemcomments.js.coffee
View
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
3  app/assets/javascripts/home.js.coffee
View
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
3  app/assets/javascripts/rpmcomments.js.coffee
View
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
3  app/assets/stylesheets/gemcomments.css.scss
View
@@ -0,0 +1,3 @@
+// Place all the styles related to the gemcomments controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
3  app/assets/stylesheets/home.css.scss
View
@@ -0,0 +1,3 @@
+// Place all the styles related to the home controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
3  app/assets/stylesheets/rpmcomments.css.scss
View
@@ -0,0 +1,3 @@
+// Place all the styles related to the rpmcomments controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
6 app/controllers/fedorarpms_controller.rb
View
@@ -1,12 +1,14 @@
class FedorarpmsController < ApplicationController
- def all
+ def index
@page_title = 'All Rpm'
+ # @rpms = FedoraRpm.all
@rpms = FedoraRpm.limit(100)
end
def show
- @rpm = FedoraRpm.find_by_id(params[:id])
+ id = params[:id]
+ @rpm = FedoraRpm.find_by_id(id)
@page_title = @rpm.name
end
12 app/controllers/gemcomments_controller.rb
View
@@ -0,0 +1,12 @@
+class GemcommentsController < ApplicationController
+ def index
+ @gem = RubyGem.find_by_id(params[:id])
+ end
+
+ def create
+ @gem = RubyGem.find_by_id(params[:id])
+ @comment = @gem.gem_comments.build(params[:gem_comment])
+ @comment.save!
+ end
+
+end
5 app/controllers/home_controller.rb
View
@@ -0,0 +1,5 @@
+class HomeController < ApplicationController
+ def show
+ @page_title = 'Welcome'
+ end
+end
2  app/controllers/rpmcomments_controller.rb
View
@@ -0,0 +1,2 @@
+class RpmcommentsController < ApplicationController
+end
6 app/controllers/rubygems_controller.rb
View
@@ -1,12 +1,14 @@
class RubygemsController < ApplicationController
- def all
+ def index
@page_title = 'All Gems'
+ # @gems = RubyGem.all
@gems = RubyGem.limit(100)
end
def show
- @gem = RubyGem.find_by_id(params[:id])
+ @id = params[:id]
+ @gem = RubyGem.find_by_id(@id, :include => :gem_comments)
@page_title = @gem.name
end
2  app/helpers/gemcomments_helper.rb
View
@@ -0,0 +1,2 @@
+module GemcommentsHelper
+end
2  app/helpers/home_helper.rb
View
@@ -0,0 +1,2 @@
+module HomeHelper
+end
2  app/helpers/rpmcomments_helper.rb
View
@@ -0,0 +1,2 @@
+module RpmcommentsHelper
+end
2  app/models/fedora_rpm.rb
View
@@ -1,7 +1,7 @@
class FedoraRpm < ActiveRecord::Base
belongs_to :ruby_gem
- has_many :rpm_comment, :dependent => :destroy, :order => 'created_at desc'
+ has_many :rpm_comments, :dependent => :destroy, :order => 'created_at desc'
has_many :working_comments, :class_name => 'RpmComment', :conditions => {:works_for_me => true}
has_many :failure_comments, :class_name => 'RpmComment', :conditions => {:works_for_me => false}
scope :popular, :order => 'rpm_comments_count desc'
2  app/models/ruby_gem.rb
View
@@ -1,7 +1,7 @@
class RubyGem < ActiveRecord::Base
has_one :fedora_rpm, :dependent => :destroy
- has_many :gem_comment, :dependent => :destroy, :order => 'created_at desc'
+ has_many :gem_comments, :dependent => :destroy, :order => 'created_at desc'
scope :popular, :order => 'gem_comments_count desc'
def self.new_from_gem_tuple(gem_tuple)
11 app/views/fedorarpms/all.html.haml
View
@@ -1,11 +0,0 @@
-%table
- %tr
- %th Name
- %th Version
- %th Gem
-
- - @rpms.each do |rpm|
- %tr
- %td= link_to rpm.name, fedorarpm_path(rpm.id)
- %td= rpm.version
- %td= if (rpm.ruby_gem != nil) then link_to 'View', rubygem_path(rpm.ruby_gem.id) end
15 app/views/fedorarpms/index.html.haml
View
@@ -0,0 +1,15 @@
+%h2 All Fedora Rpms
+
+%table
+ %thead
+ %tr
+ %th Name
+ %th Version
+ %th Gem
+
+ %tbody
+ - @rpms.each do |rpm|
+ %tr
+ %td= link_to rpm.name, fedorarpm_path(rpm.id)
+ %td= rpm.version
+ %td= link_to 'View', rubygem_path(rpm.ruby_gem.id) if rpm.ruby_gem != nil
9 app/views/fedorarpms/show.html.haml
View
@@ -1,7 +1,8 @@
-%h1= @rpm.name
+%h2= @rpm.name
%p= link_to 'Homepage', @rpm.homepage
-/%p= link_to 'Git', @rpm.git_url
+%p Description
/%p= "#{@rpm.description}"
-%p= button_to "Back to all rpms", fedorarpms_path, :method => :all
-%p= button_to "Back to all gems", rubygems_path, :method => :all
+%p
+ = link_to "Back to rpm list", fedorarpms_path, :method => :all
+ = link_to "Back to gem list", rubygems_path, :method => :all
2  app/views/gemcomments/_comments.html.haml
View
@@ -0,0 +1,2 @@
+%div
+ %p= gemcomment.name
4 app/views/gemcomments/_new_comment.html.haml
View
@@ -0,0 +1,4 @@
+%h2 Add new comment
+- form_tag rubygem_path(params[:id]), :method => :post do
+ label :gem_comment, :name, 'Name'
+ text_field :gem_comment, :name
10 app/views/home/show.html.haml
View
@@ -0,0 +1,10 @@
+!!!
+%html
+ %head
+ %title Is It Fedora Ruby
+
+ %body
+ %h1 Is It Fedora Ruby
+
+ %p= link_to 'Ruby gems', rubygems_path
+ %p= link_to 'Fedora rpms', fedorarpms_path
9 app/views/layouts/application.html.haml
View
@@ -2,10 +2,9 @@
%html
%head
%title= "isitfedoraruby.com - #{@page_title}"
-
- / <%= stylesheet_link_tag "application", :media => "all" %>
- / <%= javascript_include_tag "application" %>
- / <%= csrf_meta_tags %>
+ = stylesheet_link_tag "application"
+ = javascript_include_tag "application"
+ = csrf_meta_tags
%body
- %div= yield
+ = yield
11 app/views/rubygems/all.html.haml
View
@@ -1,11 +0,0 @@
-%table
- %tr
- %th Name
- %th Version
- %th Rpm
-
- - @gems.each do |gem|
- %tr
- %td= link_to gem.name, rubygem_path(gem.id)
- %td= gem.version
- %td= if gem.fedora_rpm != nil then link_to 'View', fedorarpm_path(gem.fedora_rpm.id) end
15 app/views/rubygems/index.html.haml
View
@@ -0,0 +1,15 @@
+%h2 All Ruby Gems
+
+%table
+ %thead
+ %tr
+ %th Name
+ %th Version
+ %th Rpm
+
+ %tbody
+ - @gems.each do |gem|
+ %tr
+ %td= link_to gem.name, rubygem_path(gem.id)
+ %td= gem.version
+ %td= link_to 'View', fedorarpm_path(gem.fedora_rpm.id) if gem.fedora_rpm != nil
34 app/views/rubygems/show.html.haml
View
@@ -1,7 +1,33 @@
-%h1= @gem.name
+%h2= @gem.name
%p= link_to 'Homepage', @gem.homepage
%p Description:
-%p= "#{@gem.description}"
+%p= @gem.description
-%p= button_to "Back to all gems", rubygems_path, :method => :all
-%p= button_to "Back to all rpms", fedorarpms_path, :method => :all
+%p
+ = link_to "Back to gem list", rubygems_path, :method => :all
+ = link_to "Back to rpm list", fedorarpms_path, :method => :all
+
+%h3 Comments
+- @gem.gem_comments.each do |comment|
+ %p Name: #{comment.name}
+ %p Email: #{comment.email}
+ %p Comment: #{comment.text}
+
+%h3 Add new comment
+= form_for :gem_comment do |f|
+ %p
+ = f.label :name, 'Name'
+ = f.text_field :name
+ %p
+ = f.label :email, 'Email'
+ = f.text_field :email
+ %p= f.label :text, 'Comment'
+ %p= f.text_area :text
+
+ = f.submit
+
+
+
+
+/= render :partial => 'gemcomments/comments', :collection => @gem.gem_comments
+/= render :partial => 'gemcomments/new_comment', :locals => {:rubygem => @gem}
13 config/routes.rb
View
@@ -1,12 +1,15 @@
Isitfedoraruby::Application.routes.draw do
- match 'rubygems/' => 'rubygems#all'
- match 'rubygems/all' => 'rubygems#all'
+ match '/' => 'home#show'
+ post 'rubygems/:id', :controller => 'gemcomments', :action => 'create'
+
+ match 'rubygems/' => 'rubygems#index'
+ match 'rubygems/all' => 'rubygems#index'
match 'rubygems/:id' => 'rubygems#show'
match 'rubygems/:id/show' => 'rubygems#show'
-
- match 'fedorarpms/' => 'fedorarpms#all'
- match 'fedorarpms/all' => 'fedorarpms#all'
+
+ match 'fedorarpms/' => 'fedorarpms#index'
+ match 'fedorarpms/all' => 'fedorarpms#index'
match 'fedorarpms/:id' => 'fedorarpms#show'
match 'fedorarpms/:id/show' => 'fedorarpms#show'
BIN  db/development.sqlite3
View
Binary file not shown
241 public/index.html
View
@@ -1,241 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Ruby on Rails: Welcome aboard</title>
- <style type="text/css" media="screen">
- body {
- margin: 0;
- margin-bottom: 25px;
- padding: 0;
- background-color: #f0f0f0;
- font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
- font-size: 13px;
- color: #333;
- }
-
- h1 {
- font-size: 28px;
- color: #000;
- }
-
- a {color: #03c}
- a:hover {
- background-color: #03c;
- color: white;
- text-decoration: none;
- }
-
-
- #page {
- background-color: #f0f0f0;
- width: 750px;
- margin: 0;
- margin-left: auto;
- margin-right: auto;
- }
-
- #content {
- float: left;
- background-color: white;
- border: 3px solid #aaa;
- border-top: none;
- padding: 25px;
- width: 500px;
- }
-
- #sidebar {
- float: right;
- width: 175px;
- }
-
- #footer {
- clear: both;
- }
-
- #header, #about, #getting-started {
- padding-left: 75px;
- padding-right: 30px;
- }
-
-
- #header {
- background-image: url("assets/rails.png");
- background-repeat: no-repeat;
- background-position: top left;
- height: 64px;
- }
- #header h1, #header h2 {margin: 0}
- #header h2 {
- color: #888;
- font-weight: normal;
- font-size: 16px;
- }
-
-
- #about h3 {
- margin: 0;
- margin-bottom: 10px;
- font-size: 14px;
- }
-
- #about-content {
- background-color: #ffd;
- border: 1px solid #fc0;
- margin-left: -55px;
- margin-right: -10px;
- }
- #about-content table {
- margin-top: 10px;
- margin-bottom: 10px;
- font-size: 11px;
- border-collapse: collapse;
- }
- #about-content td {
- padding: 10px;
- padding-top: 3px;
- padding-bottom: 3px;
- }
- #about-content td.name {color: #555}
- #about-content td.value {color: #000}
-
- #about-content ul {
- padding: 0;
- list-style-type: none;
- }
-
- #about-content.failure {
- background-color: #fcc;
- border: 1px solid #f00;
- }
- #about-content.failure p {
- margin: 0;
- padding: 10px;
- }
-
-
- #getting-started {
- border-top: 1px solid #ccc;
- margin-top: 25px;
- padding-top: 15px;
- }
- #getting-started h1 {
- margin: 0;
- font-size: 20px;
- }
- #getting-started h2 {
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- color: #333;
- margin-bottom: 25px;
- }
- #getting-started ol {
- margin-left: 0;
- padding-left: 0;
- }
- #getting-started li {
- font-size: 18px;
- color: #888;
- margin-bottom: 25px;
- }
- #getting-started li h2 {
- margin: 0;
- font-weight: normal;
- font-size: 18px;
- color: #333;
- }
- #getting-started li p {
- color: #555;
- font-size: 13px;
- }
-
-
- #sidebar ul {
- margin-left: 0;
- padding-left: 0;
- }
- #sidebar ul h3 {
- margin-top: 25px;
- font-size: 16px;
- padding-bottom: 10px;
- border-bottom: 1px solid #ccc;
- }
- #sidebar li {
- list-style-type: none;
- }
- #sidebar ul.links li {
- margin-bottom: 5px;
- }
-
- .filename {
- font-style: italic;
- }
- </style>
- <script type="text/javascript">
- function about() {
- info = document.getElementById('about-content');
- if (window.XMLHttpRequest)
- { xhr = new XMLHttpRequest(); }
- else
- { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
- xhr.open("GET","rails/info/properties",false);
- xhr.send("");
- info.innerHTML = xhr.responseText;
- info.style.display = 'block'
- }
- </script>
- </head>
- <body>
- <div id="page">
- <div id="sidebar">
- <ul id="sidebar-items">
- <li>
- <h3>Browse the documentation</h3>
- <ul class="links">
- <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
- <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
- <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
- <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
- </ul>
- </li>
- </ul>
- </div>
-
- <div id="content">
- <div id="header">
- <h1>Welcome aboard</h1>
- <h2>You&rsquo;re riding Ruby on Rails!</h2>
- </div>
-
- <div id="about">
- <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
- <div id="about-content" style="display: none"></div>
- </div>
-
- <div id="getting-started">
- <h1>Getting started</h1>
- <h2>Here&rsquo;s how to get rolling:</h2>
-
- <ol>
- <li>
- <h2>Use <code>rails generate</code> to create your models and controllers</h2>
- <p>To see all available options, run it without parameters.</p>
- </li>
-
- <li>
- <h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
- <p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
- </li>
-
- <li>
- <h2>Create your database</h2>
- <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
- </li>
- </ol>
- </div>
- </div>
-
- <div id="footer">&nbsp;</div>
- </div>
- </body>
-</html>
32 spec/spec_helper.rb
View
@@ -0,0 +1,32 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+ENV["RAILS_ENV"] ||= 'test'
+require File.expand_path("../../config/environment", __FILE__)
+require 'rspec/rails'
+require 'rspec/autorun'
+
+# Requires supporting ruby files with custom matchers and macros, etc,
+# in spec/support/ and its subdirectories.
+Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
+
+RSpec.configure do |config|
+ # ## Mock Framework
+ #
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
+ #
+ # config.mock_with :mocha
+ # config.mock_with :flexmock
+ # config.mock_with :rr
+
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # If true, the base class of anonymous controllers will be inferred
+ # automatically. This will be the default behavior in future versions of
+ # rspec-rails.
+ config.infer_base_class_for_anonymous_controllers = false
+end
7 test/functional/gemcomments_controller_test.rb
View
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class GemcommentsControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
7 test/functional/home_controller_test.rb
View
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class HomeControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
7 test/functional/rpmcomments_controller_test.rb
View
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class RpmcommentsControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
4 test/unit/helpers/gemcomments_helper_test.rb
View
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class GemcommentsHelperTest < ActionView::TestCase
+end
4 test/unit/helpers/home_helper_test.rb
View
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class HomeHelperTest < ActionView::TestCase
+end
4 test/unit/helpers/rpmcomments_helper_test.rb
View
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class RpmcommentsHelperTest < ActionView::TestCase
+end
Please sign in to comment.
Something went wrong with that request. Please try again.