Emergency commit after a dirty shutdown.
This commit is contained in:
parent
2fe142ed86
commit
c671cc2dc1
@ -1,6 +1,6 @@
|
||||
# Ruby on Rails front end for OpenSMTPD.
|
||||
|
||||
An ISC Licensed RoR app to manage your OpemSMTPD users.
|
||||
An ISC Licensed RoR app to manage your OpenSMTPD users.
|
||||
|
||||
## OpenBSD Instructions.
|
||||
|
||||
|
||||
BIN
test/controllers/.domains_controller_test.rb.kate-swp
Normal file
BIN
test/controllers/.domains_controller_test.rb.kate-swp
Normal file
Binary file not shown.
@ -1,11 +1,17 @@
|
||||
require "test_helper"
|
||||
|
||||
class DomainsControllerTest < ActionDispatch::IntegrationTest
|
||||
include Devise::Test::IntegrationHelpers
|
||||
setup do
|
||||
@domain = domains(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
test "not should get index because we are not logged in" do
|
||||
get domains_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get index because we are logged in" do
|
||||
get domains_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
14
test/fixtures/users.yml
vendored
14
test/fixtures/users.yml
vendored
@ -3,9 +3,11 @@
|
||||
# # This model initially had no columns defined. If you add columns to the
|
||||
# # model remove the "{}" from the fixture names and add the columns immediately
|
||||
# # below each fixture, per the syntax in the comments below
|
||||
# #
|
||||
# one: {}
|
||||
# # column: value
|
||||
# #
|
||||
# two: {}
|
||||
# # column: value
|
||||
#
|
||||
bob:
|
||||
email: "bob@example.net"
|
||||
encrypted_password: <= Devise::Encryptor.digest(User, 'password')
|
||||
|
||||
alice:
|
||||
email: "alice@example.org"
|
||||
encrypted_password: <= Devise::Encryptor.digest(User, 'password')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user