Skip to content

Commit f8819e7

Browse files
committed
added users controller
1 parent 0de9fcc commit f8819e7

6 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Users controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class UsersController < ApplicationController
2+
end

app/helpers/users_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module UsersHelper
2+
end
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require 'spec_helper'
2+
3+
describe UsersController do
4+
5+
end

spec/helpers/users_helper_spec.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require 'spec_helper'
2+
3+
# Specs in this file have access to a helper object that includes
4+
# the UsersHelper. For example:
5+
#
6+
# describe UsersHelper do
7+
# describe "string concat" do
8+
# it "concats two strings with spaces" do
9+
# helper.concat_strings("this","that").should == "this that"
10+
# end
11+
# end
12+
# end
13+
describe UsersHelper do
14+
pending "add some examples to (or delete) #{__FILE__}"
15+
end

0 commit comments

Comments
 (0)