add zone test-rspec

This commit is contained in:
Min Zeya Phyo
2017-03-24 21:28:57 +06:30
parent 3ec71e85fe
commit a247cd44eb
19 changed files with 108 additions and 4 deletions

6
spec/factories/zones.rb Normal file
View File

@@ -0,0 +1,6 @@
FactoryGirl.define do
factory :zone do
name { Faker::Lorem.word }
created_by { Faker::StarWars.character }
end
end