Making more messes with mashes, maps, and requesters. Maybe a teensy
bit closer on the tournament pairing algorithm (???) ActiveRecord associations are kind of a pain, btw.
This commit is contained in:
13
rails/map-mash/spec/models/requester_spec.rb
Normal file
13
rails/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