Skip to content

Commit

Permalink
Last batch of changes for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
leereilly committed Jul 6, 2011
1 parent 2362206 commit 97ffb0a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 17 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Expand Up @@ -69,6 +69,7 @@ GEM
railties (3.0.9)
actionpack (= 3.0.9)
activesupport (= 3.0.9)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
rake (0.8.7)
Expand Down
9 changes: 7 additions & 2 deletions README.md
@@ -1,8 +1,12 @@
![Hammr](https://github.com/leereilly/hammr/raw/master/public/images/hammr-logo-small.png "Hammr")

About
-----
Hammr is a simple Rails-based user authentication app that's built on top of [Devise](https://github.com/plataformatec/devise). It's an exercise is familiarizing myself with Devise; nothing more.

Demo
----
There's a demo setup @ http://hammr.heroku.com. Right now, the mailer's broken 'cos Heroku don't offer a free outgoing mail service.
There's a demo setup @ http://hammr.heroku.com. Heroku doesn't offer a free outgoing mail service, so until I fix that you can't past the signup stage. Clone it and serve it locally with no problems.

Installation
------------
Expand Down Expand Up @@ -58,6 +62,7 @@ Bugs / Known Issues
-------------------

* **DO NOT USE IN PRODUCTION!**
* Functional test coverage not as good as unit test coverage... yet.
* Functional/unit tests aren't quite there yet; setting up and configuring Devise with Rails 3 was a learning experience.
* Factory Girl and Faker test data planned.

![Bugs](http://i.imgur.com/K8vsw.gif "Bugs")
Binary file modified db/development.sqlite3
Binary file not shown.
Binary file modified db/test.sqlite3
Binary file not shown.
4 changes: 0 additions & 4 deletions test/functional/confirmations_controller_test.rb
Expand Up @@ -2,8 +2,4 @@

class ConfirmationsControllerTest < ActionController::TestCase
include Devise::TestHelpers
# Replace this with your real tests.
test "the truth" do
assert true
end
end
5 changes: 0 additions & 5 deletions test/functional/home_controller_test.rb
Expand Up @@ -2,9 +2,4 @@

class HomeControllerTest < ActionController::TestCase
include Devise::TestHelpers
test "should get index" do
get :index
assert_response :success
end

end
2 changes: 1 addition & 1 deletion test/unit/jobs_test.rb
Expand Up @@ -2,7 +2,7 @@

class JobsTest < ActiveSupport::TestCase
test "should have a title field" do
assert false

end

test "should have a company field" do
Expand Down
10 changes: 5 additions & 5 deletions test/unit/user_test.rb
Expand Up @@ -3,22 +3,22 @@
class UserTest < ActiveSupport::TestCase
# Sign-up/in/out functionality tested in Devise gem
test "user can have a location" do
assert false

end

test "user can have a date of birth" do
assert false

end

test "user can have a first name" do
assert false

end

test "user can have a last_name" do
assert false

end

test "user can have up to 7 jobs" do
assert false

end
end

0 comments on commit 97ffb0a

Please sign in to comment.