Revision 23db580d
Added by Lucas Tolchinsky over 14 years ago
- ID 23db580d664baf933c86ac6b2af5347487282b55
test/functional/home_controller_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class HomeControllerTest < ActionController::TestCase
|
||
# Replace this with your real tests.
|
||
test "should get settings" do
|
||
get :settings
|
||
assert_response :success
|
||
end
|
||
|
||
end
|
test/unit/user_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class UserTest < ActiveSupport::TestCase
|
||
# Replace this with your real tests.
|
||
test "should have login" do
|
||
u = User.new :mail => "foo@bar.com"
|
||
assert !u.save
|
Also available in: Unified diff
removed trailing spaces in home_controller_test and in user_test