Re-namespacing a bit to clear out some fairly old stuff from the top level
This commit is contained in:
13
oldstuff/map-mash/spec/models/map_spec.rb
Normal file
13
oldstuff/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
oldstuff/map-mash/spec/models/mash_tournament_spec.rb
Normal file
11
oldstuff/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
oldstuff/map-mash/spec/models/requester_spec.rb
Normal file
13
oldstuff/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