FogBugz #62: move address to a separate model/table.
This commit is contained in:
parent
8c89652fbb
commit
df0821b2b8
6 changed files with 152 additions and 68 deletions
15
test/fixtures/addresses.yml
vendored
Normal file
15
test/fixtures/addresses.yml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
|
||||
one:
|
||||
street: MyString
|
||||
housenr: MyString
|
||||
zipcode: MyString
|
||||
place: MyString
|
||||
country: MyString
|
||||
|
||||
two:
|
||||
street: MyString
|
||||
housenr: MyString
|
||||
zipcode: MyString
|
||||
place: MyString
|
||||
country: MyString
|
||||
8
test/unit/address_test.rb
Normal file
8
test/unit/address_test.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'test_helper'
|
||||
|
||||
class AddressTest < ActiveSupport::TestCase
|
||||
# Replace this with your real tests.
|
||||
test "the truth" do
|
||||
assert true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue