Add 'map-mash/' from commit '7f16409d1257e7471fef35c18bcdf32856b908e3'
git-subtree-dir: map-mash git-subtree-mainline:eacc351b17
git-subtree-split:7f16409d12
This commit is contained in:
13
map-mash/spec/models/map_spec.rb
Normal file
13
map-mash/spec/models/map_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe Map do
|
||||
before(:each) do
|
||||
@valid_attributes = {
|
||||
:name => "value for name"
|
||||
}
|
||||
end
|
||||
|
||||
it "should create a new instance given valid attributes" do
|
||||
Map.create!(@valid_attributes)
|
||||
end
|
||||
end
|
11
map-mash/spec/models/mash_tournament_spec.rb
Normal file
11
map-mash/spec/models/mash_tournament_spec.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe MashTournament do
|
||||
before(:each) do
|
||||
@valid_attributes = {:requester_id => 1}
|
||||
end
|
||||
|
||||
it "should create a new instance given valid attributes" do
|
||||
MashTournament.create!(@valid_attributes)
|
||||
end
|
||||
end
|
13
map-mash/spec/models/requester_spec.rb
Normal file
13
map-mash/spec/models/requester_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe Requester do
|
||||
before(:each) do
|
||||
@valid_attributes = {
|
||||
:ip => "value for ip"
|
||||
}
|
||||
end
|
||||
|
||||
it "should create a new instance given valid attributes" do
|
||||
Requester.create!(@valid_attributes)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user