26 lines
		
	
	
		
			583 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			583 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # == Schema Information
 | |
| #
 | |
| # Table name: offlines
 | |
| #
 | |
| #  id         :integer          not null, primary key
 | |
| #  end_time   :datetime
 | |
| #  name       :string           not null
 | |
| #  start_time :datetime         not null
 | |
| #  created_at :datetime         not null
 | |
| #  updated_at :datetime         not null
 | |
| #  contest_id :integer          not null
 | |
| #
 | |
| # Indexes
 | |
| #
 | |
| #  index_offlines_on_contest_id  (contest_id)
 | |
| #
 | |
| # Foreign Keys
 | |
| #
 | |
| #  contest_id  (contest_id => contests.id)
 | |
| #
 | |
| require 'rails_helper'
 | |
| 
 | |
| RSpec.describe Offline, type: :model do
 | |
|   pending "add some examples to (or delete) #{__FILE__}"
 | |
| end
 |