Stubbing in model for mash tournaments
This commit is contained in:
13
rails/map-mash/spec/models/mash_tournament_spec.rb
Normal file
13
rails/map-mash/spec/models/mash_tournament_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user