Skip to content

Commit 71d2252

Browse files
committed
Generated web controller
1 parent 48b2d9b commit 71d2252

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

app/controllers/web_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class WebController < ApplicationController
2+
end

app/helpers/web_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module WebHelper
2+
end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require 'test_helper'
2+
3+
class WebControllerTest < ActionController::TestCase
4+
# Replace this with your real tests.
5+
test "the truth" do
6+
assert true
7+
end
8+
end

test/unit/helpers/web_helper_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
require 'test_helper'
2+
3+
class WebHelperTest < ActionView::TestCase
4+
end

0 commit comments

Comments
 (0)