This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import XCTest | |
| @testable import Society6 | |
| class ModelFactoryTests: XCTestCase { | |
| override func setUp() { | |
| super.setUp() | |
| // Put setup code here. This method is called before the invocation of each test method in the class. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'mysql' | |
| require 'active_record' | |
| ActiveRecord::Base.logger = Logger.new('debug.log') | |
| configuration = YAML::load(IO.read('config/database.yml')) | |
| ActiveRecord::Base.establish_connection(configuration['development']) | |
| class FactorWeight < ActiveRecord::Base | |
| end |
OlderNewer