Skip to content

Commit 4858912

Browse files
Finish sign in
1 parent c20eee7 commit 4858912

30 files changed

+555
-130
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
# Ignore all logfiles and tempfiles.
1414
/log/*.log
1515
/tmp
16+
17+
# Ignore Code Coverage files
18+
coverage

.idea/dictionaries/Administrator.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sample_app.iml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 157 additions & 126 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ gem 'jquery-rails'
2828
group :test do
2929
gem 'capybara', '1.1.2'
3030
gem 'factory_girl_rails', '1.4.0'
31+
gem 'simplecov'
32+
gem 'cucumber-rails', '1.2.1', require: false
33+
gem 'database_cleaner', '0.7.0'
3134
end
3235

3336
group :production do

Gemfile.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ GEM
5050
coffee-script-source
5151
execjs
5252
coffee-script-source (1.4.0)
53+
cucumber (1.2.1)
54+
builder (>= 2.1.2)
55+
diff-lcs (>= 1.1.3)
56+
gherkin (~> 2.11.0)
57+
json (>= 1.4.6)
58+
cucumber-rails (1.2.1)
59+
capybara (>= 1.1.2)
60+
cucumber (>= 1.1.3)
61+
nokogiri (>= 1.5.0)
62+
database_cleaner (0.7.0)
5363
diff-lcs (1.1.3)
5464
erubis (2.7.0)
5565
execjs (1.4.0)
@@ -60,6 +70,8 @@ GEM
6070
factory_girl (~> 2.3.0)
6171
railties (>= 3.0.0)
6272
ffi (1.1.5-x86-mingw32)
73+
gherkin (2.11.5-x86-mingw32)
74+
json (>= 1.4.6)
6375
hike (1.2.1)
6476
i18n (0.6.1)
6577
journey (1.0.4)
@@ -127,6 +139,10 @@ GEM
127139
libwebsocket (~> 0.1.3)
128140
multi_json (~> 1.0)
129141
rubyzip
142+
simplecov (0.7.1)
143+
multi_json (~> 1.0)
144+
simplecov-html (~> 0.7.1)
145+
simplecov-html (0.7.1)
130146
sprockets (2.1.3)
131147
hike (~> 1.2)
132148
rack (~> 1.0)
@@ -153,11 +169,14 @@ DEPENDENCIES
153169
bootstrap-sass (= 2.0.0)
154170
capybara (= 1.1.2)
155171
coffee-rails (= 3.2.2)
172+
cucumber-rails (= 1.2.1)
173+
database_cleaner (= 0.7.0)
156174
factory_girl_rails (= 1.4.0)
157175
jquery-rails
158176
pg (= 0.12.2)
159177
rails (= 3.2.3)
160178
rspec-rails (= 2.9.0)
161179
sass-rails (= 3.2.4)
180+
simplecov
162181
sqlite3 (= 1.3.5)
163182
uglifier (= 1.2.3)

app/assets/javascripts/application.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
//
1313
//= require jquery
1414
//= require jquery_ujs
15+
//= require bootstrap
1516
//= require_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 Sessions controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
class ApplicationController < ActionController::Base
22
protect_from_forgery
3+
include SessionsHelper
34
end

0 commit comments

Comments
 (0)