Make open source
This commit is contained in:
0
test/models/.keep
Normal file
0
test/models/.keep
Normal file
7
test/models/admin_user_test.rb
Normal file
7
test/models/admin_user_test.rb
Normal file
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AdminUserTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
7
test/models/attendee_test.rb
Normal file
7
test/models/attendee_test.rb
Normal file
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AttendeeTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
12
test/models/guest_test.rb
Normal file
12
test/models/guest_test.rb
Normal file
@ -0,0 +1,12 @@
|
||||
require 'test_helper'
|
||||
|
||||
class GuestTest < ActiveSupport::TestCase
|
||||
test 'email_safe_salutation' do
|
||||
guest = guests(:one)
|
||||
assert_equal 'Dear Guest,', guest.email_safe_salutation
|
||||
guest.first_name = 'Visit spam.com'
|
||||
assert_equal 'Hello,', guest.email_safe_salutation
|
||||
guest.first_name = 'Visit spam dot com for free stuff' # too long
|
||||
assert_equal 'Hello,', guest.email_safe_salutation
|
||||
end
|
||||
end
|
7
test/models/plus_one_test.rb
Normal file
7
test/models/plus_one_test.rb
Normal file
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class PlusOneTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Reference in New Issue
Block a user