This file contains 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
vendor_files: { | |
js: [ | |
'vendor/jquery/jquery.min.js', | |
'vendor/jquery/jquery.min.map', | |
'vendor/angular/angular.js', | |
'vendor/angular-bootstrap/ui-bootstrap-tpls.min.js', | |
'vendor/placeholders/angular-placeholders-0.0.1-SNAPSHOT.min.js', | |
'vendor/angular-ui-router/release/angular-ui-router.js', | |
'vendor/angular-ui-utils/modules/route/route.js', | |
'vendor/d3/d3.min.js', |
This file contains 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 "singleton" | |
class Configuration | |
include Singleton | |
attr_accessor :number | |
def initialize | |
self.number = rand | |
end | |
end |
This file contains 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 "selenium-webdriver" | |
profile = Selenium::WebDriver::Firefox::Profile.new | |
proxy = Selenium::WebDriver::Proxy.new(:http => "localhost:8080") | |
profile.proxy = proxy | |
driver = Selenium::WebDriver.for :firefox , :profile => profile | |
driver.navigate.to "http://localhost:3000/" | |
puts driver.title | |
driver.quit |
NewerOlder