Add user controller and views

This commit is contained in:
Ilion Beyst 2015-09-08 15:14:46 +02:00
parent 04fa1a67e1
commit 92ea144116
7 changed files with 36 additions and 0 deletions

View file

@ -96,6 +96,11 @@ GEM
jbuilder (2.3.1)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-datatables-rails (3.3.0)
actionpack (>= 3.1)
jquery-rails
railties (>= 3.1)
sass-rails
jquery-rails (4.0.5)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
@ -237,6 +242,7 @@ DEPENDENCIES
factory_girl_rails
faker
jbuilder (~> 2.0)
jquery-datatables-rails (~> 3.3.0)
jquery-rails
mysql2 (~> 0.3.0)
omniauth-oauth2

View file

@ -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://coffeescript.org/

View file

@ -0,0 +1,3 @@
// Place all the styles related to the users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

View file

@ -0,0 +1,2 @@
class UsersController < ApplicationController
end

View file

@ -0,0 +1,2 @@
module UsersHelper
end

View file

@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe UsersController, type: :controller do
end

View file

@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the UsersHelper. For example:
#
# describe UsersHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe UsersHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end